Skip to content

Commit

Permalink
Merge pull request #7 from owncloud/cernbox-python2
Browse files Browse the repository at this point in the history
specify that we want python2
  • Loading branch information
moscicki committed Jun 26, 2015
2 parents 4f179e8 + 8873041 commit 7e7d641
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/smash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- python -*-
#
# The _open_SmashBox Project.
Expand Down Expand Up @@ -152,7 +152,7 @@ def main():
def run_multiprocessing_engine(config,t):
global global_exitcode_error
import subprocess, pickle
cmd = ['python',os.path.join(os.path.dirname(os.path.dirname(__file__)),'python/smashbox/multiprocessing_engine.py'), t, pickle.dumps(config)]
cmd = ['python2',os.path.join(os.path.dirname(os.path.dirname(__file__)),'python/smashbox/multiprocessing_engine.py'), t, pickle.dumps(config)]
p = subprocess.Popen(cmd)
p.communicate()

Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_all
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys

Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_nplusone_loop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_storm_loop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion python/smashbox/multiprocessing_engine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- python -*-
#
# The _open_SmashBox Project.
Expand Down

0 comments on commit 7e7d641

Please sign in to comment.