Pmw.CounterDialog

rhamorim at my-deja.com rhamorim at my-deja.com
Mon Dec 4 07:36:48 EST 2000


Hi, to correct it is simple. You'll have to edit PmwCounter.py. Here it
is:

- Find the function called _changeNumber() (line 273)
- On line 279 there's the return statement for this function. Change it
to return str(value) (and not return str(value)[:-1])

That ocurred because str(long) on Python 2.0 doesn't return a number
with L on the end like Python 1.5.2 did.

Tell me if you have any further problems.

Roberto Amorim


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list