]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
osd.py: fix import of os/os.path
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 21 Mar 2013 14:01:58 +0000 (15:01 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 21 Mar 2013 14:01:58 +0000 (15:01 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
ceph_deploy/osd.py

index e2b3887819de2272b725e362f7beadb642bd4c44..4dd398c647bd72f5c3cae82c28b7df61a00c1c38 100644 (file)
@@ -1,6 +1,6 @@
 import argparse
 import logging
-import os.path
+import os
 import sys
 
 from cStringIO import StringIO
@@ -34,7 +34,6 @@ def create_osd(cluster, key):
     tell between bug and correctly handled failure, so avoid using
     exceptions for non-exceptional runs.
     """
-    import os
     import subprocess
 
     path = '/var/lib/ceph/bootstrap-osd/{cluster}.keyring'.format(