removed unnecessary brackets and lists
diff --git a/examples/certgen.py b/examples/certgen.py
index c88ed38..bf11c6e 100644
--- a/examples/certgen.py
+++ b/examples/certgen.py
@@ -45,7 +45,7 @@
req = crypto.X509Req()
subj = req.get_subject()
- for (key,value) in list(name.items()):
+ for key,value in name.items():
setattr(subj, key, value)
req.set_pubkey(pkey)
@@ -67,8 +67,8 @@
digest - Digest method to use for signing, default is sha256
Returns: The signed certificate in an X509 object
"""
- (issuerCert, issuerKey) = issuerCertKey
- (notBefore, notAfter) = validityPeriod
+ issuerCert, issuerKey = issuerCertKey
+ notBefore, notAfter = validityPeriod
cert = crypto.X509()
cert.set_serial_number(serial)
cert.gmtime_adj_notBefore(notBefore)