diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-11-26 21:50:00 -0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-11-26 21:50:00 -0200 |
commit | f06b3aa4bd895108c29770214ddd62afdbe5054c (patch) | |
tree | f4eaeb8e03a9aa059c140d516a6f67d2d5d61d24 | |
parent | major rewritten. works fairly. (diff) | |
download | checkbump-f06b3aa4bd895108c29770214ddd62afdbe5054c.tar.gz checkbump-f06b3aa4bd895108c29770214ddd62afdbe5054c.tar.bz2 checkbump-f06b3aa4bd895108c29770214ddd62afdbe5054c.zip |
small fixes
-rw-r--r-- | checkbump.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checkbump.py b/checkbump.py index dce2c18..393c45b 100644 --- a/checkbump.py +++ b/checkbump.py @@ -8,7 +8,6 @@ from jinja2 import Template from logging import getLogger, Formatter, StreamHandler, INFO from subprocess import Popen, PIPE from time import strftime -from urllib import urlencode from urllib2 import urlopen, URLError from portage import portagetree @@ -35,7 +34,7 @@ HTML_TEMPLATE = Template('''\ <tr> <th>Package</th> <th>Bugs</th> - <th>Our version</th> + <th>Gentoo version</th> <th>Upstream version</th> <th>Up-to-date?</th> </tr> @@ -155,6 +154,7 @@ def main(argv): pkg_list = PackageList(argv[0]) config_file = os.path.splitext(os.path.basename(argv[0]))[0] sys.stdout.write(generate_html(config_file, pkg_list)) + return 0 if __name__ == '__main__': |