kamal hamzat wrote at 2007-9-28 16:36 +0100:
>I have this error after i added the if statement
>
>Error Type: TypeError
>Error Value: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a 'int'
>
>
>for i in context.zCatNewsCurrent():
> if i <= 5:
>print "%s: %s: %s" % (i.id, i.a
--On 28. September 2007 16:36:43 +0100 kamal hamzat
<[EMAIL PROTECTED]> wrote:
Dear All,
I have this error after i added the if statement
Error Type: TypeError
Error Value: mybrains.__cmp__(x,y) requires y to be a 'mybrains', not a
'int'
for i in context.zCatNewsCurrent():
if i <= 5
+---[ kamal hamzat ]--
| Dear All,
|
| I have this error after i added the if statement
Time for you to do some reading of your own.
That's three in less than an hour...
--
Andrew Milton
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list