Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aexpect/remote_door.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
from Pyro5 import nameserver, server
from Pyro5.compatibility import Pyro4

NS_MODULE = "Pyro5.nameserver"
NS_MODULE = "Pyro5.nameserver" # pylint: disable=C0103
except ImportError:
# noinspection PyPackageRequirements,PyUnresolvedReferences
import Pyro4
Expand All @@ -99,14 +99,14 @@ def __init__(self):
from Pyro4 import naming as nameserver

nameserver.start_ns = nameserver.startNS
NS_MODULE = "Pyro4.naming"
NS_MODULE = "Pyro4.naming" # pylint: disable=C0103

except ImportError:
logging.warning(
"Remote object backend (Pyro4) not found, some functionality"
" of the remote door will not be available"
)
NS_MODULE = ""
NS_MODULE = "" # pylint: disable=C0103

# NOTE: disable aexpect importing on the remote side if not available as the
# remote door can run code remotely without the requirement for the aexpect
Expand Down
Loading