diff options
author | Michael Elkins <melkins@tislabs.com> | 2011-02-19 15:48:21 +0000 |
---|---|---|
committer | Michael Elkins <melkins@tislabs.com> | 2011-02-19 15:48:21 +0000 |
commit | 2b591f62e01acc8aba915fe202f0746fdfa30fa5 (patch) | |
tree | 4aa3fdb6af6a3c54fa1c16cfbc5ca5a5b028018f | |
parent | c49c1b8036b6854584a54d4ea7bf7adb084fb4c2 (diff) |
do not print warning about missing <list_received_resources/> responses when the -v argument is omitted
svn path=/rpkid/rpki/gui/scripts/list_resources.py; revision=3684
-rw-r--r-- | rpkid/rpki/gui/scripts/list_resources.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpkid/rpki/gui/scripts/list_resources.py b/rpkid/rpki/gui/scripts/list_resources.py index 77380505..2b547e45 100644 --- a/rpkid/rpki/gui/scripts/list_resources.py +++ b/rpkid/rpki/gui/scripts/list_resources.py @@ -1,6 +1,6 @@ # $Id$ # -# Copyright (C) 2010 SPARTA, Inc. dba Cobham Analytic Solutions +# Copyright (C) 2010, 2011 SPARTA, Inc. dba Cobham Analytic Solutions # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -209,7 +209,8 @@ for pdu in pdus: # verify that we got responses for all expected handles for h in handles: if h not in seen: - print >>sys.stderr, 'error: did not receive response for handle %s' % (h,) + if verbose: + print 'warning: did not receive response for handle %s' % (h,) sys.exit(3) sys.exit(0) # success |