Removed unused self.shutdown variable in arduino_driver.py

This commit is contained in:
Patrick Goebel 2013-08-17 17:15:43 -07:00
parent 230d84d097
commit 481760bd42

View File

@ -171,7 +171,6 @@ class Arduino:
attempts += 1
except:
self.mutex.release()
if not self.shutdown:
print "Exception executing command: " + cmd
value = None
@ -205,7 +204,6 @@ class Arduino:
except:
self.mutex.release()
print "Exception executing command: " + cmd
if not self.shutdown:
raise SerialException
return []
@ -243,7 +241,6 @@ class Arduino:
attempts += 1
except:
self.mutex.release()
if not self.shutdown:
print "execute_ack exception when executing", cmd
print sys.exc_info()
return 0