[PATCH] warn the user this option is not available with querybts alone
Carl Chenet
carl.chenet at ohmytux.com
Wed Jun 10 21:40:05 UTC 2009
---
bin/querybts | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/bin/querybts b/bin/querybts
index 67d0249..eb08a01 100755
--- a/bin/querybts
+++ b/bin/querybts
@@ -197,10 +197,13 @@ def main():
match = reportre.match(package)
if match:
report = int(match.group(1))
- return ui.show_report(report, system, mirrors,
- http_proxy, queryonly=True,
- title=VERSION,
- archived=archived)
+ while 1 :
+ retvalue = ui.show_report(report, system, mirrors,
+ http_proxy, queryonly=True,
+ title=VERSION,
+ archived=archived)
+ ui.long_message('This option is not available while using querybts alone.\n')
+
ui.handle_bts_query(package, system, mirrors, http_proxy,
queryonly=True, title=VERSION, archived=archived,
source=source)
--
1.5.4.3
--=-FWwa4PwHKWi/C/BNmuDM--
More information about the Reportbug-maint
mailing list