Skip to content
Snippets Groups Projects
Commit 04f58ae8 authored by Keith Butler's avatar Keith Butler
Browse files

Re #23248 fixing flake 8 warning

parent 87bc5b37
No related branches found
No related tags found
No related merge requests found
...@@ -91,8 +91,7 @@ class OrderWorkspaceHistory(mantid.api.PythonAlgorithm): ...@@ -91,8 +91,7 @@ class OrderWorkspaceHistory(mantid.api.PythonAlgorithm):
line.append(t) line.append(t)
# l[-1][1][1:] is the comment string, with the preceeding hash stripped off # l[-1][1][1:] is the comment string, with the preceeding hash stripped off
all_commands = [(''.join(t[1] for t in l[:-1]), l[-1][1][1:]) all_commands = [(''.join(t[1] for t in l[:-1]), l[-1][1][1:]) for l in all_lines]
for l in all_lines]
# Remove duplicate commands by casting commands as a set # Remove duplicate commands by casting commands as a set
unique_commands = set() unique_commands = set()
for command in all_commands: for command in all_commands:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment