]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: ceph_objectstore_tool.py use env python
authorLoic Dachary <ldachary@redhat.com>
Thu, 13 Nov 2014 16:12:35 +0000 (17:12 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 15 Nov 2014 22:27:15 +0000 (23:27 +0100)
Using #/usr/bin/env python instead of a hard coded path is more flexible
and can also be used to run from virtualenv.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph_objectstore_tool.py

index ba0a8182731bd85db0201c4d4902e1e7dd1a1e6e..8a7fc02e61acfb264aa12bb47680aade52f8f57a 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#!/usr/bin/env python
 
 from subprocess import call
 from subprocess import check_output