Skip to content

Commit a99b256

Browse files
committed
Fixed a bug and a linter
1 parent 7792bc3 commit a99b256

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mig/shared/functionality/gdpman.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@ def main(client_id, user_arguments_dict, environ=None):
16101610
tmptopicfile = write_named_tempfile(configuration, topic_mrsl)
16111611
if not tmptopicfile:
16121612
msg = 'Problem writing temporary topic file on server.'
1613-
logger.error("%s : %s" % msg)
1613+
logger.error(msg)
16141614
output_objects.append(
16151615
{'object_type': 'error_text', 'text': msg})
16161616
return (output_objects, returnvalues.SYSTEM_ERROR)
@@ -1673,6 +1673,7 @@ def main(client_id, user_arguments_dict, environ=None):
16731673

16741674
# Generate html
16751675

1676+
validate_msg = ""
16761677
if status:
16771678
(status, validate_msg) = validate_user(configuration,
16781679
client_id,

0 commit comments

Comments
 (0)