Bug 1002619 - Fix syntax error in Marionette's setup.py. r=ato
authorWilliam Lachance <wlachance@mozilla.com>
Mon, 28 Apr 2014 14:34:29 -0400
changeset 181114 2c9dd078b08cfc9e3451013ec46e46f9d88d17a1
parent 181113 ec6b9792a042f4124f4dd63d1c8f6ad6a32d1be1
child 181115 a45a16d941cf49536d8426968b7d04b33bde7813
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersato
bugs1002619
milestone32.0a1
Bug 1002619 - Fix syntax error in Marionette's setup.py. r=ato
testing/marionette/client/setup.py
--- a/testing/marionette/client/setup.py
+++ b/testing/marionette/client/setup.py
@@ -22,17 +22,17 @@ deps = [x for x in deps if 'transport' n
 transport_dir = os.path.join(os.path.dirname(__file__), os.path.pardir, 'transport')
 method = [x for x in sys.argv if x in ('develop', 'install')]
 if os.path.exists(transport_dir) and method:
     cmd = [sys.executable, 'setup.py', method[0]]
     import subprocess
     try:
         subprocess.check_call(cmd, cwd=transport_dir)
     except subprocess.CalledProcessError:
-        print "Error running setup.py in %s" % directory
+        print "Error running setup.py in %s" % transport_dir
         raise
 else:
     deps += ['marionette-transport == 0.1']
 
 setup(name='marionette_client',
       version=version,
       description="Marionette test automation client",
       long_description=description,