]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
use the new get_command helper in check_call
authorAlfredo Deza <alfredo@deza.pe>
Fri, 13 Dec 2013 17:06:25 +0000 (12:06 -0500)
committerAlfredo Deza <alfredo@deza.pe>
Wed, 12 Feb 2014 21:17:11 +0000 (16:17 -0500)
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
(cherry picked from commit 897dfc113fe3b86f3dda53172933bfd4f8089869)

src/ceph-disk

index 38a9dbbe15c3a8e6aabe234c5ac506c34f5e93a6..1614a1ee07168153d14679a57a79c35a55378575 100755 (executable)
@@ -273,7 +273,7 @@ def command_check_call(arguments):
     of making sure that executables *will* be found and will error nicely
     otherwise.
     """
-    _check_command_executable(arguments)
+    arguments = _get_command_executable(arguments)
     return subprocess.check_call(arguments)