]> git.apps.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)
committerDavid Zafman <dzafman@redhat.com>
Tue, 3 Mar 2015 18:44:17 +0000 (10:44 -0800)
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>
(cherry picked from commit 74506d2506d03d05935cbe342fef9dc1d9022a13)

src/test/ceph_objectstore_tool.py

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