cc_args.py: TypeError: unsupported operand type #145

Closed
pera opened this Issue May 2, 2012 · 2 comments

Comments

Projects
None yet
2 participants

pera commented May 2, 2012

cc_args.py is not working here (Python 3.2.2), I always get this error:

Traceback (most recent call last):
  File "cc_args.py", line 74, in <module>
    args = parseArguments(sys.argv)
  File "cc_args.py", line 59, in parseArguments
    result += map(lambda x: "-D" + x, defines)
TypeError: unsupported operand type(s) for +=: 'map' and 'map'

xaizek closed this in 450bf97 May 2, 2012

Collaborator

xaizek commented May 2, 2012

It should work now.

pera commented May 2, 2012

wow that was fast, thank you now works perfect :]

@Arnaud-de-Grandmaison Arnaud-de-Grandmaison pushed a commit to Arnaud-de-Grandmaison/clang_complete that referenced this issue May 2, 2012

@xaizek xaizek Correct concatenation of lists in cc_args.py
Closes #145. Make it compatible with Python 2.x and Python 3.x
at the same time.
f4c5cdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment