Fix misprints
authordhs-shine <dhs.shine@gmail.com>
Mon, 6 Feb 2017 12:42:59 +0000 (12:42 +0000)
committerdhs-shine <dhs.shine@gmail.com>
Mon, 6 Feb 2017 12:45:02 +0000 (12:45 +0000)
litmus/cmds/cmd_adhoc.py
litmus/device/device.py
litmus/device/devicestandalone.py

index 46dd1c3d59f9d5c03d303d8a296ca9ba166faf48..7c38824d530abe93e55c6294f10478b9352dcde1 100755 (executable)
@@ -16,7 +16,7 @@
 import os
 import sys
 from litmus.core.util import call
-from litmus.cmd import sdb_does_exist
+from litmus.cmds import sdb_does_exist
 
 
 def main(args):
index 3478ac6b07f4b9d439e3ce603708d5f973d6dea5..f9337d64c788ce6f50e0d68d597ff197d018e44e 100644 (file)
@@ -473,7 +473,7 @@ class device(object):
         """docstring for thread_for_enter_download_mode"""
         for loop in range(count*20):
             try:
-            self._uart.write(self._enterkey)
+                self._uart.write(self._enterkey)
             except serial.SerialException as err:
                 logging.debug(err)
                 self._close_open_uart()
index 130b9f0e0227942eab1cb952c4db43e54fc5b0bb..ad1b03357b2e011c3de4742d02740a76bb8e286c 100644 (file)
@@ -136,7 +136,7 @@ class devicestandalone(device):
             time.sleep(waiting)
             if flasher == 'lthor':
                 if self._usbid == None:
-                busid = self._find_usb_busid()
+                    busid = self._find_usb_busid()
                 else:
                     busid = self._usbid
                 self._release_global_lock()