Skip to content

Commit 7ca9066

Browse files
committed
Misc update Add __maintainer__ field in setup.py
1 parent d728cc5 commit 7ca9066

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pymodbus/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import pymodbus.version as __version
1515
__version__ = __version.version.short()
1616
__author__ = 'Galen Collins'
17+
__maintainer__ = 'dhoomakethu'
1718

1819
#---------------------------------------------------------------------------#
1920
# Block unhandled logging

pymodbus/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def execute(self, request):
101101
_logger.debug("recv: " + " ".join([hex(ord(x)) for x in result]))
102102
self.client.framer.processIncomingPacket(result, self.addTransaction)
103103
break;
104-
except socket.error, msg:
104+
except socket.error as msg:
105105
self.client.close()
106106
_logger.debug("Transaction failed. (%s) " % msg)
107107
retries -= 1

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from setup_commands import command_classes
2424
except ImportError:
2525
command_classes = {}
26-
from pymodbus import __version__, __author__
26+
from pymodbus import __version__, __author__, __maintainer__
2727

2828
#---------------------------------------------------------------------------#
2929
# configuration
@@ -52,7 +52,7 @@
5252
keywords = 'modbus, twisted, scada',
5353
author = __author__,
5454
author_email = 'bashwork@gmail.com',
55-
maintainer = __author__,
55+
maintainer = __maintainer__,
5656
maintainer_email = 'otlasanju@gmail.com',
5757
url='https://github.com/riptideio/pymodbus/',
5858
license = 'BSD',

0 commit comments

Comments
 (0)