Commit 8239e064 authored by David Johnson's avatar David Johnson

Pull in m2crypto->cryptography conversion from OpenStack stein branch.

parent 538f25a2
......@@ -30,17 +30,18 @@
import six
import sys
import pwd
import getopt
import os
import re
import xmlrpclib
from M2Crypto import X509
import os.path
dirname = os.path.abspath(os.path.dirname(sys.argv[0]))
execfile("%s/" % (dirname,))
exec(open("%s/" % (dirname,)).read())
myprint = six.print_
# Convert the certificate into a credential.
......@@ -58,7 +59,7 @@ if rval:
Fatal("Could not get manifests")
if len(sys.argv) < 2:
print response["value"]
f = open("%s.xml" % (sys.argv[1],),'w')
value = response["value"]["manifests"]
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment