Bug 1304176 - Remove --venv-path as an alias to --virtualenv-path; r=ted
authorGregory Szorc <gps@mozilla.com>
Tue, 20 Sep 2016 14:46:52 -0700
changeset 315072 1c0787d40b9722d31c09f243b543c64de78473ec
parent 315071 8dc87cef62fb3dddae89f2a6a5099bb7dbaa6ebc
child 315073 d5355738ce1edf58cabee849024c7bd02c641b77
push id32537
push usergszorc@mozilla.com
push dateFri, 23 Sep 2016 20:03:51 +0000
treeherderautoland@d5355738ce1e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs1304176, 651974
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1304176 - Remove --venv-path as an alias to --virtualenv-path; r=ted Not sure why we support this. The code goes all the way back to the import of mozharness 0.4 into the old mozharness Mercurial repo in bug 651974. Having fewer variations makes it easier to search for usage. So nuke the variation. MozReview-Commit-ID: IgwLMdvXGB0
testing/mozharness/mozharness/base/python.py
--- a/testing/mozharness/mozharness/base/python.py
+++ b/testing/mozharness/mozharness/base/python.py
@@ -46,17 +46,17 @@ def get_tlsv1_post():
                                            block=block,
                                            ssl_version=ssl.PROTOCOL_TLSv1)
     s = requests.Session()
     s.mount('https://', TLSV1Adapter())
     return s.post
 
 # Virtualenv {{{1
 virtualenv_config_options = [
-    [["--venv-path", "--virtualenv-path"], {
+    [["--virtualenv-path"], {
         "action": "store",
         "dest": "virtualenv_path",
         "default": "venv",
         "help": "Specify the path to the virtualenv top level directory"
     }],
     [["--virtualenv"], {
         "action": "store",
         "dest": "virtualenv",