]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: pep8 conformance
authorLoic Dachary <ldachary@redhat.com>
Sat, 2 May 2015 15:03:33 +0000 (17:03 +0200)
committerLoic Dachary <ldachary@redhat.com>
Tue, 5 May 2015 23:54:36 +0000 (01:54 +0200)
And remove misleading comment.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/ceph-disk

index 1b29c8e977b561b235cbb07396319a29c97d0728..92a649c0e27bdfa8bfae3023cff2ad4c568f24a8 100755 (executable)
@@ -1860,9 +1860,8 @@ def start_daemon(
     path = (STATEDIR + '/osd/{cluster}-{osd_id}').format(
         cluster=cluster, osd_id=osd_id)
 
-    # upstart?
     try:
-        if os.path.exists(os.path.join(path,'upstart')):
+        if os.path.exists(os.path.join(path, 'upstart')):
             command_check_call(
                 [
                     '/sbin/initctl',