cleaned up imports
[sfa.git] / sfa / methods / get_key.py
index f84c5fe..9cec0ec 100644 (file)
@@ -1,10 +1,8 @@
-### $Id:  $
-### $URL:  $
 import os
 import tempfile
 import commands
 from sfa.util.faults import *
-from sfa.util.namespace import *
+from sfa.util.xrn import hrn_to_urn
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
 from sfa.trust.auth import Auth
@@ -66,6 +64,7 @@ class get_key(Method):
         key_dest="/etc/sfa/node.key"
         gid_dest="/etc/sfa/node.gid" 
         scp = "/usr/bin/scp" 
+        #identity = "/etc/planetlab/root_ssh_key.rsa"
         identity = "/etc/sfa/root_ssh_key"
         scp_options=" -i %(identity)s " % locals()
         scp_options+="-o StrictHostKeyChecking=no " % locals()