Re: Pyrhon2.5 to 2.4 conversion

2010-03-09 Thread tarek...@gmail.com
Thanks a lot everybody for your help, it worked now :) On Feb 28, 4:12 am, MRAB wrote: > tarek...@gmail.com wrote: > > Hi, > > > I am currently using oauth2.py library, and it works fine on one of my > > PC's (python2.5), but later on when I tried to use it with python2.4 > > the following line (

Re: Pyrhon2.5 to 2.4 conversion

2010-02-27 Thread MRAB
tarek...@gmail.com wrote: Hi, I am currently using oauth2.py library, and it works fine on one of my PC's (python2.5), but later on when I tried to use it with python2.4 the following line (line 332 in http://github.com/simplegeo/python-oauth2/blob/master/oauth2/__init__.py) showed a syntax err

Re: Pyrhon2.5 to 2.4 conversion

2010-02-27 Thread Steven D'Aprano
On Sat, 27 Feb 2010 17:41:09 -0800, tarek...@gmail.com wrote: > Hi, > > I am currently using oauth2.py library, and it works fine on one of my > PC's (python2.5), but later on when I tried to use it with python2.4 the > following line (line 332 in > http://github.com/simplegeo/python-oauth2/blob/

Re: Pyrhon2.5 to 2.4 conversion

2010-02-27 Thread Chris Rebert
On Sat, Feb 27, 2010 at 5:41 PM, tarek...@gmail.com wrote: > Hi, > > I am currently using oauth2.py library, and it works fine on one of my > PC's (python2.5), but later on when I tried to use it with python2.4 > the following line (line 332 in > http://github.com/simplegeo/python-oauth2/blob/mas

Re: Pyrhon2.5 to 2.4 conversion

2010-02-27 Thread Benjamin Kaplan
On Sat, Feb 27, 2010 at 8:41 PM, tarek...@gmail.com wrote: > Hi, > > I am currently using oauth2.py library, and it works fine on one of my > PC's (python2.5), but later on when I tried to use it with python2.4 > the following line (line 332 in > http://github.com/simplegeo/python-oauth2/blob/mast

Pyrhon2.5 to 2.4 conversion

2010-02-27 Thread tarek...@gmail.com
Hi, I am currently using oauth2.py library, and it works fine on one of my PC's (python2.5), but later on when I tried to use it with python2.4 the following line (line 332 in http://github.com/simplegeo/python-oauth2/blob/master/oauth2/__init__.py) showed a syntax error items = [(k, v if type(v