Skip to content

Commit

Permalink
RF: another removal of trailing \
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jul 9, 2018
1 parent 6546ca9 commit 5a9d6e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions batchspawner/batchspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@ def start(self):
if self.user and self.user.server and self.user.server.port:
self.port = self.user.server.port
self.db.commit()
elif (jupyterhub.version_info < (0,7) and not self.user.server.port) or \
(jupyterhub.version_info >= (0,7) and not self.port):
elif (jupyterhub.version_info < (0,7) and not self.user.server.port) or (
jupyterhub.version_info >= (0,7) and not self.port
):
self.port = random_port()
self.db.commit()
job = yield self.submit_batch_script()
Expand Down

0 comments on commit 5a9d6e8

Please sign in to comment.