Bug 809437 - Fix typo from a38c6f05ba19, r=mdas
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Tue, 13 Nov 2012 11:00:31 -0500
changeset 113086 c3b7e68ef6a04d97994c219d9d59c42ad7df0545
parent 113085 0f9f72352c1abd9154deb86fa04a6b0ffb0ef1cb
child 113087 213b5afa306881c08a89c8b7c9dbc7ddf700cfcc
push id17936
push userahalberstadt@mozilla.com
push dateTue, 13 Nov 2012 16:00:59 +0000
treeherdermozilla-inbound@c3b7e68ef6a0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmdas
bugs809437
milestone19.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 809437 - Fix typo from a38c6f05ba19, r=mdas
testing/marionette/client/marionette/emulator.py
--- a/testing/marionette/client/marionette/emulator.py
+++ b/testing/marionette/client/marionette/emulator.py
@@ -428,17 +428,17 @@ waitFor(
                             raise
 
         for retry in range(1, restart_attempts+1):
             print 'restarting B2G (attempt %s of %s)' % (retry, restart_attempts)
             try:
                 self._restart_b2g(marionette)
                 break
             except MarionetteException, TimeoutException:
-                if retry == restart_attmempts:
+                if retry == restart_attempts:
                     raise
 
 
     def rotate_log(self, srclog, index=1):
         """ Rotate a logfile, by recursively rotating logs further in the sequence,
             deleting the last file if necessary.
         """
         destlog = os.path.join(self.logcat_dir, 'emulator-%d.%d.log' % (self.port, index))