mirror of
https://github.com/ceph/ceph
synced 2025-02-05 18:03:54 +00:00
nuke: add missing import os
$ 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>
This commit is contained in:
parent
568eccf86e
commit
25bc62dec1
@ -1,4 +1,5 @@
|
||||
import argparse
|
||||
import os
|
||||
import yaml
|
||||
import textwrap
|
||||
from argparse import RawTextHelpFormatter
|
||||
|
Loading…
Reference in New Issue
Block a user