mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
scripts: Text-wrap long lines exceeding 110.
This commit is contained in:
@@ -102,7 +102,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
def get_dev_uuid_var_path(create_if_missing=False):
|
def get_dev_uuid_var_path(create_if_missing=False):
|
||||||
# type: (bool) -> str
|
# type: (bool) -> str
|
||||||
zulip_path = os.path.realpath(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))))
|
zulip_path = os.path.realpath(os.path.dirname(os.path.dirname(
|
||||||
|
os.path.dirname(os.path.realpath(__file__)))))
|
||||||
uuid_path = os.path.join(os.path.realpath(os.path.dirname(zulip_path)), ".zulip-dev-uuid")
|
uuid_path = os.path.join(os.path.realpath(os.path.dirname(zulip_path)), ".zulip-dev-uuid")
|
||||||
if os.path.exists(uuid_path):
|
if os.path.exists(uuid_path):
|
||||||
with open(uuid_path) as f:
|
with open(uuid_path) as f:
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ if not set(warn_queues) - set(("missedmessage_emails", "digest_emails")) and \
|
|||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
if status > 0:
|
if status > 0:
|
||||||
print("%s|%s|%s|max count %s, queues affected: %s" % (now, status, states[status], max_count, warn_about))
|
print("%s|%s|%s|max count %s, queues affected: %s" % (
|
||||||
|
now, status, states[status], max_count, warn_about))
|
||||||
else:
|
else:
|
||||||
print("%s|%s|%s|queues normal, max count %s" % (now, status, states[status], max_count))
|
print("%s|%s|%s|queues normal, max count %s" % (now, status, states[status], max_count))
|
||||||
|
|||||||
Reference in New Issue
Block a user