mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 16:56:30 -06:00
PEP-8 fixes
This commit is contained in:
parent
802269910c
commit
3c686d3fbe
@ -183,7 +183,7 @@ class BatchProcess(object):
|
||||
args_val = args_csv_io.getvalue().strip(str('\r\n'))
|
||||
tmp_desc = dumps(self.desc)
|
||||
try:
|
||||
tmp_desc =tmp_desc.decode('utf-8') if\
|
||||
tmp_desc = tmp_desc.decode('utf-8') if \
|
||||
IS_PY2 and hasattr(tmp_desc, 'decode') else tmp_desc
|
||||
except UnicodeDecodeError:
|
||||
tmp_desc = tmp_desc.decode('latin-1') if \
|
||||
|
@ -109,7 +109,6 @@ class BackupMessage(IProcessDesc):
|
||||
else:
|
||||
self.cmd += cmdArg(arg)
|
||||
|
||||
|
||||
@property
|
||||
def message(self):
|
||||
# Fetch the server details like hostname, port, roles etc
|
||||
|
Loading…
Reference in New Issue
Block a user