Question #691828 on Yade changed:
https://answers.launchpad.net/yade/+question/691828

Jan Stránský posted a new comment:
just to make the Chu's answer a bit more verbose. If you put comma the end of 
the assignment line, Python interpret it as a tulple:
###
a = True
b = True,
print(a)
print(b)
print(type(a))
print(type(b))
###
This is what the error says, that it expects a boolean (e.g. True), but got a 
tuple: (True,)

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to