]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
workunit: include python2.7 path too
authorSage Weil <sage@newdream.net>
Sat, 10 Mar 2012 23:34:19 +0000 (15:34 -0800)
committerSage Weil <sage@newdream.net>
Sat, 10 Mar 2012 23:34:19 +0000 (15:34 -0800)
teuthology/task/workunit.py

index 5077436fefb4681867d36c0b8e462a8fa4d4a4a3..32c0e62da77827a69a0713e92ee5e2fb0ce4978f 100644 (file)
@@ -160,7 +160,7 @@ def _run_tests(ctx, role, tests):
                         run.Raw('CEPH_CONF="/tmp/cephtest/ceph.conf"'),
                         run.Raw('CEPH_SECRET_FILE="{file}"'.format(file=secretfile)),
                         run.Raw('CEPH_ID="{id}"'.format(id=id_)),
-                        run.Raw('PYTHONPATH="$PYTHONPATH:/tmp/cephtest/binary/usr/local/lib/python2.6/dist-packages"'),
+                        run.Raw('PYTHONPATH="$PYTHONPATH:/tmp/cephtest/binary/usr/local/lib/python2.7/dist-packages:/tmp/cephtest/binary/usr/local/lib/python2.6/dist-packages"'),
                         '/tmp/cephtest/enable-coredump',
                         '/tmp/cephtest/binary/usr/local/bin/ceph-coverage',
                         '/tmp/cephtest/archive/coverage',