diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-24 17:05:45 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-24 17:05:45 -0400 |
commit | 43a9563f2078895b39d8f0c76e1e3c1e888b74b5 (patch) | |
tree | 6d979fb40bc853a8c48582a081d7a4474e70e660 /support/stm32loader.py | |
parent | 847c6839e6c918c9317e3f91bb68af5f4ee8be1d (diff) | |
download | librambutan-43a9563f2078895b39d8f0c76e1e3c1e888b74b5.tar.gz librambutan-43a9563f2078895b39d8f0c76e1e3c1e888b74b5.zip |
stm32loader.py: Use new-style classes.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support/stm32loader.py')
-rwxr-xr-x | support/stm32loader.py | 2 |
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, |