From bf29f8223c9f9b63a11d60dbadab837589e7f3b2 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 5 Oct 2011 16:42:56 -0400 Subject: reset.py: Hackishly silence DeprecationWarning. Signed-off-by: Marti Bolivar --- support/scripts/reset.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/support/scripts/reset.py b/support/scripts/reset.py index 2122d36..6410c56 100755 --- a/support/scripts/reset.py +++ b/support/scripts/reset.py @@ -119,7 +119,6 @@ try: ser.close() except Exception as e: - print 'Failed to open serial port %s for reset: %s' % (maple_path, - e.message) + print 'Failed to open serial port %s for reset' % maple_path sys.exit() -- cgit v1.2.3