We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841b68e commit c4c48bcCopy full SHA for c4c48bc
S3/Config.py
@@ -73,7 +73,7 @@
73
# In python 3, unicode -> str, and str -> bytes
74
unicode = str
75
76
-PY32 = (sys.version_info >= (3, 2))
+PY3 = (sys.version_info >= (3, 0))
77
78
79
def is_bool_true(value):
@@ -459,7 +459,7 @@ def aws_credential_file(self):
459
try:
460
461
buf = io.StringIO(config_string)
462
- if PY32:
+ if PY3:
463
config.read_file(buf)
464
else:
465
config.readfp(buf)
@@ -471,7 +471,7 @@ def aws_credential_file(self):
471
# to be able to read the file with PyConfigParser()
472
config_string = u'[default]\n' + config_string
473
474
475
476
477
0 commit comments