Message5171
When I use the Google Calendar APIs and Tools, I test this function.
# \gdata\calendar\service.py, line 490
def _SetOrderBy(self, val):
if val is not 'lastmodified' and val is not 'starttime':
raise Error, "Order By must be either 'lastmodified' or 'starttime'"
self['orderby'] = val
I got error no matter what I passed to it.
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_14
Type "help", "copyright", "credits" or "license" for more information.
>>> def t(v):
... if v is not 'a' and v is not 'b': return 'e'
... return 't'
...
>>> t('a')
'e'
>>> t('b')
'e'
>>> t('c')
'e'
>>> |
|
Date |
User |
Action |
Args |
2009-09-17 03:38:32 | asnama | set | recipients:
+ asnama |
2009-09-17 03:38:31 | asnama | set | messageid: <1253158711.76.0.0704040061402.issue1471@psf.upfronthosting.co.za> |
2009-09-17 03:38:31 | asnama | link | issue1471 messages |
2009-09-17 03:38:31 | asnama | create | |
|