Commit 658a4e37 authored by Lucas Carvalho's avatar Lucas Carvalho Committed by Łukasz Nowak

Revert "Modified to provide backward compatibility."

This reverts commit 01b2ca0a.
parent b209c49a
......@@ -364,11 +364,7 @@ def buildoutSetUp(test):
def create_signature_file_list(path,
private_key_file='private.pem',
certificate_file='public.pem'):
try:
from slapos.signature import createPrivateKeyAndCertificateFile
except ImportError:
return private_key_file, certificate_file
from slapos.signature import createPrivateKeyAndCertificateFile
private_key_file = os.path.join(path, private_key_file)
certificate_file = os.path.join(path, certificate_file)
createPrivateKeyAndCertificateFile(certificate_file, private_key_file)
......
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