Hide Forgot
Description of problem: On RHEL 6.8, Swift runs python26. A dictionary comprehension reports a syntax error that does not occur on python 2.7 Version-Release number of selected component (if applicable): RHEL 6.8 How reproducible: 100% of the time. Steps to Reproduce: swift -A http://10.8.128.76/auth/1.0 -u testuser:swift -K 'N/wGw1h7SY5EdTrIH4P4V4DeeDyW36yJ7NCI6HLH' list Actual results: Traceback (most recent call last): . . . File "/usr/lib/python2.6/site-packages/swiftclient/client.py", line 136 return {key: safe_value(key, val) for (key, val) in headers} ^ SyntaxError: invalid syntax Expected results: a list of buckets Additional info: I changed the dictionary comprehension to an external for loop and the problem went away. I think that the best thing here is for swift to run python 2.7
This is also true for 6.6 and 6.7
We are almost 30 days away from RHCS 1.2's EOL, so we won't fix bugs for RHCS 1.2 at this point.