google-code-export / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

Migration service, syntax error in py2.4 ( all < 2.5) #563

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python2.4
2. import gdata.apps.migration.service

What is the expected output? What do you see instead?

Get a syntax error (ternary operator was introduced in 2.5)

      File "/usr/lib/python2.4/site-packages/gdata/apps/migration/service.py", line 198
        0 if num_entries % threads_per_batch == 0 else 1)

What version of the product are you using?

gdata 2.0.15

Original issue reported on code.google.com by hnass...@gmail.com on 14 Nov 2011 at 5:23