[tw.forms] #33: SyntaxWarning: assertion is always true

1 view
Skip to first unread message

Trac from toscawidgets.org

unread,
Jul 14, 2009, 4:48:01 AM7/14/09
to toscawidge...@groups.google.com
#33: SyntaxWarning: assertion is always true
---------------------+------------------------------------------------------
Reporter: miniwark | Owner:
Type: defect | Status: new
Priority: minor | Version: 0.9
Keywords: |
---------------------+------------------------------------------------------
With Python 2.6 when i ''easy_install tw.forms'' i have the following
alert :

{{{
Downloading
http://pypi.python.org/packages/source/t/tw.forms/tw.forms-0.9.7.2.tar.gz#md5=6a12e14d3d27de11c95567658b6ee6c2
Processing tw.forms-0.9.7.2.tar.gz
Running tw.forms-0.9.7.2/setup.py -q bdist_egg --dist-dir /tmp
/easy_install-uJ0IQD/tw.forms-0.9.7.2/egg-dist-tmp-SHEE3b
build/bdist.linux-x86_64/egg/tw/forms/core.py:430: SyntaxWarning:
assertion is always true, perhaps remove parentheses?
assert (isinstance(schema.fields[name], Schema),
/home/bertrand/Documents/Developpement/virtualenv-pylons097/lib/python2.6
/site-packages/tw.forms-0.9.7.2-py2.6.egg/tw/forms/core.py:430:
SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (isinstance(schema.fields[name], Schema),
Adding tw.forms 0.9.7.2 to easy-install.pth file
}}}

--
Ticket URL: <http://toscawidgets.org/trac/tw.forms/ticket/33>
tw.forms </trac/tw.forms>
tw.forms - Form building widgets

Reply all
Reply to author
Forward
0 new messages