Closed Bug 1178802 Opened 9 years ago Closed 9 years ago

hg_helper.py string formatting issues

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: gps)

Details

Looks like USER_REPO_EXISTS contains too many "%"s:

$ ssh hg.mozilla.org clone mozharness build/mozharness
Traceback (most recent call last):
  File "/usr/local/bin/pash.py", line 77, in <module>
    process_non_root_login(user)
  File "/usr/local/bin/pash.py", line 60, in process_non_root_login
    hg_helper.serve('hg.mozilla.org')
  File "/usr/local/bin/hg_helper.py", line 423, in serve
    make_repo_clone (cname, args[0], args[1])
  File "/usr/local/bin/hg_helper.py", line 175, in make_repo_clone
    run_hg_clone (cname, user_repo_dir, repo_name, quick_src)
  File "/usr/local/bin/hg_helper.py", line 87, in run_hg_clone
    print(USER_REPO_EXISTS % repo_name)
TypeError: not enough arguments for format string
Deploying now.
Assignee: nobody → gps
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.