Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation error with Python 2.6 #6

Open
paolostivanin opened this issue May 12, 2015 · 1 comment · May be fixed by #7
Open

compilation error with Python 2.6 #6

paolostivanin opened this issue May 12, 2015 · 1 comment · May be fixed by #7

Comments

@paolostivanin
Copy link

Hi,
I cannot compile python-gssapi with Python 2.6:

File "python-gssapi-0.6.4/gssapi/bindings/__init__.py", line 175
    return {_kwargs_decode(key): _kwargs_decode(value) for key, value in input.items()}
                                                         ^
SyntaxError: invalid syntax
@paolostivanin paolostivanin linked a pull request May 19, 2015 that will close this issue
@tortugajefe
Copy link

I fixed this issue with this (slightly ugly) code:
retdict = {}
for key, value in input.items(): retdict[_kwargs_decode(key)] = _kwargs_decode(value)
return retdict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants