Skip to content

Commit

Permalink
add \ to lines
Browse files Browse the repository at this point in the history
  • Loading branch information
XeBoris committed Jul 3, 2017
1 parent 9862e08 commit 4d85d0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cax/qsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ def command_submission(command):

#Submit the command
sc = create_script(command)
execute = subprocess.Popen( ['sh', sc.name] ,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
execute = subprocess.Popen( ['sh', sc.name] , \

This comment has been minimized.

Copy link
@lucrlom

lucrlom Jul 5, 2017

Contributor

the back slash are not necessary. don't left the white-space at the end.

stdin=subprocess.PIPE,\
stdout=subprocess.PIPE,\
stderr=subprocess.STDOUT, shell=False )
stdout_value, stderr_value = execute.communicate()
stdout_value = stdout_value.decode("utf-8")
Expand Down

0 comments on commit 4d85d0a

Please sign in to comment.