Skip to content

Commit

Permalink
Fix a wrong super invocation for Python 2.7. Closes highwall#6
Browse files Browse the repository at this point in the history
[CM-2898]

Signed-off-by: Al Nikolov <[email protected]>
  • Loading branch information
Al Nikolov committed Sep 10, 2019
1 parent 0adfaf6 commit c8770a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pexpect_serial/serial_spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, ser, args=None, **kwargs):
if not ser.isOpen():
raise ExceptionPexpect('serial port is not ready')

super().__init__(None, **kwargs)
super(SerialSpawn, self).__init__(None, **kwargs)
self.ser = ser
self.name = '<serial port %s>' % ser.port
self.child_fd = ser.fileno()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name='pexpect-serial',
version='0.1.0',
version='0.1.0~vaisala0',
author='High Wall',
author_email='[email protected]',
description='pexpect with pyserial',
Expand Down

0 comments on commit c8770a3

Please sign in to comment.