diff options
author | Will Woods <wwoods@wills-mini.localdomain> | 2007-09-07 10:42:45 -0400 |
---|---|---|
committer | Will Woods <wwoods@wills-mini.localdomain> | 2007-09-07 10:42:45 -0400 |
commit | aa075952c2a1913a99b9f1cc31b32514561dc42b (patch) | |
tree | fe5b91215e87d5f6e961b5f8a6857795e4f288d3 /selftest.py | |
parent | 878fb24657c21766f778f9ea773b2306233f3559 (diff) | |
download | python-bugzilla-aa075952c2a1913a99b9f1cc31b32514561dc42b.tar.gz python-bugzilla-aa075952c2a1913a99b9f1cc31b32514561dc42b.tar.xz python-bugzilla-aa075952c2a1913a99b9f1cc31b32514561dc42b.zip |
small formatting change for clarity
Diffstat (limited to 'selftest.py')
-rwxr-xr-x | selftest.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/selftest.py b/selftest.py index 3baadea..96702a3 100755 --- a/selftest.py +++ b/selftest.py @@ -44,8 +44,12 @@ def selftest(user='',password=''): b = Bugzilla(url=url,cookies=cookies) print "Reading product list" print b.getproducts() + print + print "Reading public bug (#%i)" % public_bug print b.getbug(public_bug) + print + print "Reading private bug (#%i)" % private_bug try: print b.getbug(private_bug) @@ -56,11 +60,15 @@ def selftest(user='',password=''): print "Failed: Unknown XMLRPC error: %s" % e q_msg = "%s %s %s %s" % (query['product'],query['component'], query['version'],query['long_desc']) + print + print "Querying %s bugs" % q_msg bugs = b.query(query) print "%s bugs found." % len(bugs) for bug in bugs: print "Bug %s" % bug + print + print "Awesome. We're done." if __name__ == '__main__': |