Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tests are passing

  • Loading branch information...
commit 437f21e61cd17d89e45935956705f062cbe9abc2 1 parent 3fd1f6e
BuzzTroll authored
View
8 lantorrent/pylantorrent/request.py
@@ -120,12 +120,14 @@ def main(argv=sys.argv[1:]):
if not o.nonblock:
(rc, message) = wait_until_sent(con, rid)
else:
- print "request id: %s" % (rid)
+ msg = "request id: %s" % (rid)
+ pynimbusauthz.print_msg(o, 0, msg)
if rc == 0:
- print "Success"
+ pynimbusauthz.print_msg(o, 0, "Success")
else:
- print "Failure: %s" % (message)
+ msg = "Failure: %s" % (message)
+ pynimbusauthz.print_msg(o, 0, msg)
return rc
View
2  lantorrent/tests/request_test.py
@@ -62,6 +62,8 @@ def get_rid(self, out_file):
f = open(out_file, "r")
lines = f.readlines()
l = len(lines)
+ print "lines %d" % (l)
+ print lines
rid_line = lines[l-2]
ra = rid_line.split(":", 1)
rid = ra[1].strip()
Please sign in to comment.
Something went wrong with that request. Please try again.