[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -61,7 +61,7 @@ class RemoteControl:
|
|||||||
|
|
||||||
def trace(self, *args):
|
def trace(self, *args):
|
||||||
if self.config.option.debug:
|
if self.config.option.debug:
|
||||||
msg = " ".join([str(x) for x in args])
|
msg = " ".join(str(x) for x in args)
|
||||||
print("RemoteControl:", msg)
|
print("RemoteControl:", msg)
|
||||||
|
|
||||||
def initgateway(self):
|
def initgateway(self):
|
||||||
|
|||||||
@@ -16,5 +16,5 @@ def report_collection_diff(from_collection, to_collection, from_id, to_id):
|
|||||||
"The difference is:\n"
|
"The difference is:\n"
|
||||||
"{diff}"
|
"{diff}"
|
||||||
).format(from_id=from_id, to_id=to_id, diff="\n".join(diff))
|
).format(from_id=from_id, to_id=to_id, diff="\n".join(diff))
|
||||||
msg = "\n".join([x.rstrip() for x in error_message.split("\n")])
|
msg = "\n".join(x.rstrip() for x in error_message.split("\n"))
|
||||||
return msg
|
return msg
|
||||||
|
|||||||
Reference in New Issue
Block a user