diff options
author | elie <elie> | 2015-10-17 20:44:11 +0000 |
---|---|---|
committer | elie <elie> | 2015-10-17 20:44:11 +0000 |
commit | 42866754ad5a89d4f20a121a02cb617ef05c0533 (patch) | |
tree | ffc30e70f5f88ea37bff1a9cf90bc0cafb5aa360 /pysnmp/carrier | |
parent | a46f37c26520015e3ad8628587db3899f55d8c33 (diff) | |
download | pysnmp-git-42866754ad5a89d4f20a121a02cb617ef05c0533.tar.gz |
some more random linter warnings fixed
Diffstat (limited to 'pysnmp/carrier')
-rw-r--r-- | pysnmp/carrier/asyncore/dgram/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/carrier/asyncore/dgram/base.py b/pysnmp/carrier/asyncore/dgram/base.py index 7f9578e0..537a281d 100644 --- a/pysnmp/carrier/asyncore/dgram/base.py +++ b/pysnmp/carrier/asyncore/dgram/base.py @@ -38,7 +38,7 @@ class DgramSocketTransport(AbstractSocketTransport): raise error.CarrierError('bind() for %s failed: %s' % (iface is None and "<all local>" or iface, sys.exc_info()[1])) return self - def openServerMode(self, iface): + def openServerMode(self, iface=None): try: self.socket.bind(iface) except socket.error: |