import glob
import os
-import func
-import func.certs
-import func.certmaster
+import certmaster
+import certmaster.certs
+import certmaster.certmaster
errorprint('Must be root to run certmaster-ca')
return 1
- cm = func.certmaster.CertMaster()
+ cm = certmaster.certmaster.CertMaster()
(opts, args) = parseargs(args)
return 1
for hn in args:
- cm.remove_this_host(hn)
+ cm.remove_this_cert(hn)
return 0