Skip to content

Commit

Permalink
changed with statement to be compatible for python 2.6 and 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mcianfrocco committed May 26, 2017
1 parent 6e65e25 commit 0c6c2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relion/run_relionAWS_fromAppion.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def rclone_to_s3(indir,numfiles,region,keyid,secretid,rclonename,bucketname,awsp
def exec_remote_cmd(cmd):
from fabric.operations import run, put
from fabric.api import hide,settings
with hide('output','running','warnings'), settings(warn_only=True):
with hide('output','running','warnings'); with settings(warn_only=True):
return run(cmd)

#==============================
Expand Down

0 comments on commit 0c6c2e0

Please sign in to comment.