Skip to content

Commit

Permalink
flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Aug 2, 2022
1 parent 109dc12 commit a88f2d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/saliweb/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def _populate_directories(self, config):
others.remove(key)
self.directories[key] = config.get('directories', key)
# We should have defaults for each other directory except FAILED
assert(len(sorted_others) == len(others))
assert len(sorted_others) == len(others)
# Other directories (except EXPIRED) are optional:
# default to the directory for the previous state
for n in range(1, len(sorted_others)):
Expand Down Expand Up @@ -1624,7 +1624,7 @@ def __init__(self, script, interpreter='/bin/sh'):
self._directory = os.getcwd()

def set_options(self, opts):
"""Set the options to use, as a string, for example '-l mydisk=1G -p 0'.
"""Set the options to use as a string, for example '-l mydisk=1G -p 0'.
These will be specific to the queuing system (e.g. SGE, SLURM)
you are using.
Note that if you want to set the job name
Expand Down

0 comments on commit a88f2d2

Please sign in to comment.