From 25bc62dec12d98abf265f95c6fa3f0d9e7991dd1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 25 Sep 2013 13:42:03 -0700 Subject: [PATCH] nuke: add missing import os $ teuthology-nuke -a . -r -u Traceback (most recent call last): File "/home/ubuntu/bin/teuthology-nuke", line 9, in 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 --- teuthology/nuke.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 626a550afc..10f1f7b0da 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -1,4 +1,5 @@ import argparse +import os import yaml import textwrap from argparse import RawTextHelpFormatter -- 2.39.5