pep-8 and small cleanups
diff --git a/serial/urlhandler/protocol_hwgrep.py b/serial/urlhandler/protocol_hwgrep.py
index 90626ff..e184ec5 100644
--- a/serial/urlhandler/protocol_hwgrep.py
+++ b/serial/urlhandler/protocol_hwgrep.py
@@ -20,6 +20,7 @@
except NameError:
basestring = str # python 3
+
class Serial(serial.Serial):
"""Just inherit the native Serial port implementation and patch the port property."""
@@ -43,8 +44,6 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if __name__ == '__main__':
- #~ s = Serial('hwgrep://ttyS0')
s = Serial(None)
s.port = 'hwgrep://ttyS0'
print(s)
-