]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-disk: fix log syntax error
authorSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 20:53:16 +0000 (13:53 -0700)
committerSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 20:53:16 +0000 (13:53 -0700)
  File "/usr/sbin/ceph-disk", line 303, in command_check_call
    LOG.info('Running command: %s' % ' '.join(arguments))
TypeError: sequence item 2: expected string, NoneType found

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-disk

index 689c2bc13184f3ef5a3f7d0d0bcd1acc54dd1480..6c3775139dac438028a951d771d98ad599821c60 100755 (executable)
@@ -300,7 +300,7 @@ def command_check_call(arguments):
     otherwise.
     """
     arguments = _get_command_executable(arguments)
-    LOG.info('Running command: %s' % ' '.join(arguments))
+    LOG.info('Running command: %s', ' '.join(arguments))
     return subprocess.check_call(arguments)