Skip to content

Commit

Permalink
Move cw.slurm import to top (PEP8).
Browse files Browse the repository at this point in the history
  • Loading branch information
bholt committed Jun 1, 2015
1 parent cc99f71 commit 1101388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cw/worker.py
@@ -1,5 +1,6 @@
from __future__ import print_function
import cw
import cw.slurm
import bluelet
import traceback
import sys
Expand Down Expand Up @@ -99,7 +100,6 @@ def run(self):
args = sys.argv[1:]

if args and args[0] == '--slurm':
import cw.slurm
host = cw.slurm.master_host()
elif args:
host = args[0]
Expand Down

0 comments on commit 1101388

Please sign in to comment.