Maya 2012:
I run up a script and find this:
SyntaxError: keyword argument repeated
er…
It dies here:
with pma.rowLayout('mExSplit', numberOfColumns=2,adjustableColumn=1,
rowAttach=(1, 'both', 0),
columnWidth=(1,(self.wValue-(self.bWidth-5))]),
columnWidth=(2,self.bWidth)) as self.split:
this has worked forever…
turns out that this type of keyword duplication was ignored in python 2.5 but was illegal in 2.4 and is now illegal again in 2.6, Maya 2012 is 2.6.
The Maya documentation has not been updated to highlight this fact.
I discovered this here:
http://nick.zoic.org/art/python/syntax_error_keyword_argument_repeated/
Thought it was worth mentioning…