Commit 56a8b248 authored by Aurel's avatar Aurel

fix type of common name using futurize builtins

parent fe3f7806
......@@ -17,6 +17,9 @@
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
from builtins import str
from builtins import range
from builtins import object
from io import BytesIO as StringIO
import contextlib
import datetime
......@@ -193,7 +196,7 @@ class KedifaMixinCaucase(KedifaMixin):
)
self.cas = cas.split()
kedifa_key_pem, csr_file = self.generateCSR(common_name)
kedifa_key_pem, csr_file = self.generateCSR(str(common_name))
out = StringIO()
err = StringIO()
caucase.cli.main(
......
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