We could get errors with the old lib where it wants a number, but sometimes fails to get one
1.1 --- a/debianbts.py Thu Jun 04 14:31:42 2009 +0530
1.2 +++ b/debianbts.py Thu Jun 04 14:32:13 2009 +0530
1.3 @@ -852,7 +852,11 @@
1.4
1.5 def get_report(number, system='debian', mirrors=None,
1.6 http_proxy='', archived=False, followups=False):
1.7 - number = int(number)
1.8 +
1.9 + try:
1.10 + number = int(number)
1.11 + except ValueError:
1.12 + sys.stderr.write("%s couldn't be convered to integer.\nPlease report a bug" % (number) )
1.13 if SYSTEMS[system].get('cgiroot'):
1.14 result = get_cgi_report(number, system, http_proxy, archived,
1.15 followups)