]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
nuke: add missing import
authorJosh Durgin <josh.durgin@inktank.com>
Thu, 13 Sep 2012 21:31:46 +0000 (14:31 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Thu, 13 Sep 2012 21:31:46 +0000 (14:31 -0700)
teuthology/nuke.py

index 73e3e11d503dcd05d7721b0d9e18f07a43f98e96..e90192ceb82ee3acc70a59fd48476631ae9fa720 100644 (file)
@@ -299,6 +299,7 @@ def main():
                     ctx.pid,
                     ctx.pid))
         else:
+            import subprocess
             subprocess.check_call(["kill", "-9", str(ctx.pid)]);
 
     nuke(ctx, log, ctx.unlock, ctx.synch_clocks, ctx.reboot_all)