pash: fix poor formatting of 'account disabled' message (
bug 1282681); r?gps
MozReview-Commit-ID: En6sCN6PnI6
--- 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: