]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Fix undefined name errors
authorZack Cerza <zack@cerza.org>
Thu, 26 Sep 2013 15:32:28 +0000 (10:32 -0500)
committerZack Cerza <zack@cerza.org>
Thu, 26 Sep 2013 19:01:17 +0000 (14:01 -0500)
(cherry picked from commit f59497ef2214f29d5995435d83766c7994e8f2cd)

teuthology/locker/api.py
teuthology/nuke.py

index 91b0e5effa7d88397cb4325e644fd36e5a4c4585..975a3a444042135873e56711c43965529beccdb9 100644 (file)
@@ -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',
index 10f1f7b0dac89ba9c8c6c7daab67ffb882f86ae5..01bbe8a67a89de86bf93b04f76c296a63bb3999c 100644 (file)
@@ -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