From: Zack Cerza Date: Thu, 26 Sep 2013 15:32:28 +0000 (-0500) Subject: Fix undefined name errors X-Git-Tag: 1.1.0~1850^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2c9bdc7bacc490ba65adc955a7070beef7b35f0;p=teuthology.git Fix undefined name errors (cherry picked from commit f59497ef2214f29d5995435d83766c7994e8f2cd) --- diff --git a/teuthology/locker/api.py b/teuthology/locker/api.py index 91b0e5eff..975a3a444 100644 --- a/teuthology/locker/api.py +++ b/teuthology/locker/api.py @@ -4,6 +4,9 @@ import subprocess from config import DB +import logging +log = logging.getLogger(__name__) + def load_machine(name): results = list(DB.select('machine', what='*', where='name = $name', diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 10f1f7b0d..01bbe8a67 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -323,6 +323,7 @@ def main(): from gevent import monkey; monkey.patch_all(dns=False) from .orchestra import monkey; monkey.patch_all() from teuthology.run import config_file + import os import logging