aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-07-24 17:05:45 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-07-24 17:05:45 -0400
commit43a9563f2078895b39d8f0c76e1e3c1e888b74b5 (patch)
tree6d979fb40bc853a8c48582a081d7a4474e70e660 /support
parent847c6839e6c918c9317e3f91bb68af5f4ee8be1d (diff)
downloadlibrambutan-43a9563f2078895b39d8f0c76e1e3c1e888b74b5.tar.gz
librambutan-43a9563f2078895b39d8f0c76e1e3c1e888b74b5.zip
stm32loader.py: Use new-style classes.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/stm32loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/stm32loader.py b/support/stm32loader.py
index e7e42ca..0448274 100755
--- a/support/stm32loader.py
+++ b/support/stm32loader.py
@@ -50,7 +50,7 @@ def mdebug(level, message):
class CmdException(Exception):
pass
-class CommandInterface:
+class CommandInterface(object):
def open(self, aport='/dev/tty.usbserial-FTD3TMCH', abaudrate=115200) :
self.sp = serial.Serial(
port=aport,