- remove __all__ from util/__init__.py, no module uses from import *
[monitor.git] / monitor / bootman.py
index 6bc00b3..eac2761 100755 (executable)
@@ -11,7 +11,7 @@ import traceback
 import subprocess
 from sets import Set
 
-from monitor.getsshkeys import SSHKnownHosts
+from monitor.util.sshknownhosts import SSHKnownHosts
 from monitor.Rpyc import SocketConnection, Async
 from monitor.Rpyc.Utils import *
 
@@ -826,4 +826,4 @@ def restore_basic(sitehist, hostname, config=None, forced_action=None):
        
 
 if __name__ == "__main__":
-       print "ERROR: Can not execute module as a command! Please use commands/%s." % __file__
+       print "ERROR: Can not execute module as a command! Please use commands/%s.py" % os.path.splitext(__file__)[0]