diff options
author | Calum Lind <calumlind@gmail.com> | 2016-11-13 15:09:30 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2016-11-17 10:19:59 +0000 |
commit | 2657cc39218d6ec3b5a7b5f9a462a8262e7404d5 (patch) | |
tree | 4d54c0eb599caf199ff8ca7548d9ae8f0817e47b /deluge/ui/client.py | |
parent | 441861786b02a00c95e9d485b8a814ece43edd50 (diff) | |
download | deluge-2657cc39218d6ec3b5a7b5f9a462a8262e7404d5.tar.gz deluge-2657cc39218d6ec3b5a7b5f9a462a8262e7404d5.tar.bz2 deluge-2657cc39218d6ec3b5a7b5f9a462a8262e7404d5.zip |
[Lint] Quote cleanup
Diffstat (limited to 'deluge/ui/client.py')
-rw-r--r-- | deluge/ui/client.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/deluge/ui/client.py b/deluge/ui/client.py index 3f72dbcdf..6c95646e9 100644 --- a/deluge/ui/client.py +++ b/deluge/ui/client.py @@ -104,7 +104,7 @@ class DelugeRPCProtocol(DelugeTransferProtocol): if message_type == RPC_EVENT: event = request[1] - # log.debug("Received RPCEvent: %s", event) + # log.debug('Received RPCEvent: %s', event) # A RPCEvent was received from the daemon so run any handlers # associated with it. if event in self.factory.event_handlers: @@ -178,7 +178,7 @@ class DelugeRPCProtocol(DelugeTransferProtocol): # response to this request. We use the extra information when printing # out the error for debugging purposes. self.__rpc_requests[request.request_id] = request - # log.debug("Sending RPCRequest %s: %s", request.request_id, request) + # log.debug('Sending RPCRequest %s: %s', request.request_id, request) # Send the request in a tuple because multiple requests can be sent at once self.transfer_message((request.format_message(),)) except Exception as ex: @@ -453,7 +453,7 @@ class DaemonStandaloneProxy(DaemonProxy): self.__daemon = None def call(self, method, *args, **kwargs): - # log.debug("call: %s %s %s", method, args, kwargs) + # log.debug('call: %s %s %s', method, args, kwargs) import copy @@ -503,7 +503,7 @@ class DottedObject(object): self.base = method def __call__(self, *args, **kwargs): - raise Exception("You must make calls in the form of 'component.method'!") + raise Exception('You must make calls in the form of "component.method"') def __getattr__(self, name): return RemoteMethod(self.daemon, self.base + '.' + name) @@ -637,8 +637,9 @@ class Client(object): except OSError as ex: from errno import ENOENT if ex.errno == ENOENT: - log.error(_("Deluge cannot find the 'deluged' executable, it is likely \ -that you forgot to install the deluged package or it's not in your PATH.")) + log.error( + _('Deluge cannot find the `deluged` executable, check that ' + 'the deluged package is installed, or added to your PATH.')) else: log.exception(ex) raise ex |