]> granicus.if.org Git - python/commitdiff
Issue #22074: Fix Lib/test/make_ssl_certs.py
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Jul 2014 15:15:52 +0000 (11:15 -0400)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 26 Jul 2014 15:15:52 +0000 (11:15 -0400)
Lib/test/make_ssl_certs.py

index 4251d5524ffa39b9094b2e4d0cbc6ca9b5734702..81d04f82dcfb082d89ee5f097c1dd8336994c7a2 100644 (file)
@@ -115,7 +115,7 @@ def make_ca():
     with open(os.path.join('cadir','index.txt'),'a+') as f:
         pass # empty file
     with open(os.path.join('cadir','crl.txt'),'a+') as f:
-        r.write("00")
+        f.write("00")
     with open(os.path.join('cadir','index.txt.attr'),'w+') as f:
         f.write('unique_subject = no')