Skip to content

Commit 4853bfb

Browse files
committed
Added indices for backwards compatibility with Py2.6.
1 parent 1f64ac0 commit 4853bfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/run_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
def run_example(path):
3535
""" Returns returncode of example """
36-
cmd = "{} {}".format(sys.executable, path)
36+
cmd = "{0} {1}".format(sys.executable, path)
3737
proc = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
3838
res = proc.communicate()
3939
if proc.returncode:

0 commit comments

Comments
 (0)