]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
nuke: add missing import os 110/head
authorSage Weil <sage@inktank.com>
Wed, 25 Sep 2013 20:42:03 +0000 (13:42 -0700)
committerSage Weil <sage@inktank.com>
Wed, 25 Sep 2013 20:42:03 +0000 (13:42 -0700)
$ teuthology-nuke  -a . -r -u
Traceback (most recent call last):
  File "/home/ubuntu/bin/teuthology-nuke", line 9, in <module>
    load_entry_point('teuthology==0.0.1', 'console_scripts', 'teuthology-nuke')()
  File "/home/ubuntu/teuthology/teuthology/nuke.py", line 343, in main
    ifn = os.path.join(ctx.archive, 'info.yaml')
UnboundLocalError: local variable 'os' referenced before assignment

Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/nuke.py

index 626a550afcc0bf3aede995dc615d984ab6524eb8..10f1f7b0dac89ba9c8c6c7daab67ffb882f86ae5 100644 (file)
@@ -1,4 +1,5 @@
 import argparse
+import os
 import yaml
 import textwrap
 from argparse import RawTextHelpFormatter