sigmaris / python-gssapi

Attempt at an object-oriented interface to GSSAPI for Python
MIT License
12 stars 2 forks source link

compilation error with Python 2.6 #6

Open paolostivanin opened 9 years ago

paolostivanin commented 9 years ago

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
tortugajefe commented 8 years ago

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