Some zulip => humbug updates in comments and print statements.

(imported from commit 9253569a1df7f96fda81ab162d710cdda03f30ca)
This commit is contained in:
Tim Abbott 2013-10-04 13:27:01 -04:00 committed by Steve Howell
parent 46a74271ea
commit ba721d85cb
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ parser.add_option('--root-path',
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
# The 'api' directory needs to go first, so that 'import zulip' won't pick up # The 'api' directory needs to go first, so that 'import zulip' won't pick up
# some other directory named 'humbug'. # some other directory named 'zulip'.
pyzephyr_lib_path = "python-zephyr/build/lib.linux-%s-%s/" % (os.uname()[4], sys.version[0:3]) pyzephyr_lib_path = "python-zephyr/build/lib.linux-%s-%s/" % (os.uname()[4], sys.version[0:3])
sys.path[:0] = [os.path.join(options.root_path, "api/"), sys.path[:0] = [os.path.join(options.root_path, "api/"),
os.path.join(options.root_path, "python-zephyr"), os.path.join(options.root_path, "python-zephyr"),

View file

@ -126,7 +126,7 @@ class Client(object):
return False return False
if self.verbose: if self.verbose:
if not query_state["had_error_retry"]: if not query_state["had_error_retry"]:
sys.stdout.write("humbug API(%s): connection error%s -- retrying." % \ sys.stdout.write("zulip API(%s): connection error%s -- retrying." % \
(url.split(API_VERSTRING, 2)[0], error_string,)) (url.split(API_VERSTRING, 2)[0], error_string,))
query_state["had_error_retry"] = True query_state["had_error_retry"] = True
else: else: