duplicate fix from func tree over here
[certmaster.git] / scripts / certmaster-ca
index b3e844a..27e190e 100755 (executable)
@@ -9,9 +9,9 @@ import sys
 import glob
 import os
 
-import func
-import func.certs
-import func.certmaster
+import certmaster
+import certmaster.certs
+import certmaster.certmaster
 
 
 
@@ -46,7 +46,7 @@ def main(args):
         errorprint('Must be root to run certmaster-ca')
         return 1
         
-    cm = func.certmaster.CertMaster()
+    cm = certmaster.certmaster.CertMaster()
     
     (opts, args) = parseargs(args)
 
@@ -84,7 +84,7 @@ def main(args):
             return 1
         
         for hn in args:
-            cm.remove_this_host(hn)
+            cm.remove_this_cert(hn)
         
         return 0