pash: fix poor formatting of 'account disabled' message (bug 1282681); r?gps draft
authorbyron jones <glob@mozilla.com>
Tue, 28 Jun 2016 13:46:22 +0800
changeset 8654 d18d493130613e65ece41aee9afa837634968c89
parent 8653 2d69b5c7a0f56b309dba5acb815aa5afc8d8c880
push id949
push userbjones@mozilla.com
push dateTue, 28 Jun 2016 05:47:13 +0000
reviewersgps
bugs1282681
pash: fix poor formatting of 'account disabled' message (bug 1282681); r?gps MozReview-Commit-ID: En6sCN6PnI6
hgserver/pash/pash.py
--- a/hgserver/pash/pash.py
+++ b/hgserver/pash/pash.py
@@ -47,21 +47,21 @@ def process_non_root_login(user):
     import json
     import logging
     import sys
     import hg_helper
     import ldap_helper
 
     user_status = hg_helper.is_valid_user(user)
     if user_status == 2:
-        sys.stderr.write('Your mercurial account has been disabled due \
-                          to inactivity.\nPlease file a bug at \
-                          https://bugzilla.mozilla.org (or \
-                          http://tinyurl.com/njcfhma) to re-activate \
-                          your account.\n')
+        sys.stderr.write('Your mercurial account has been disabled due '
+                         'to inactivity.\nPlease file a bug at '
+                         'https://bugzilla.mozilla.org (or '
+                         'http://tinyurl.com/njcfhma) to re-activate '
+                         'your account.\n')
         sys.exit(0)
 
     elif user_status != 1:
         sys.stderr.write(NO_HG_ACCESS % user)
         sys.exit(0)
 
     # Run ldap access date toucher, silently fail and log if we're unable to write
     try: