Revision 6216
Added by Aaron Marcuse-Kubitza about 12 years ago
schemas/py_functions.sql | ||
---|---|---|
98 | 98 |
if day == None: day = 1 |
99 | 99 |
year, month, day = map(int, (year, month, day)) |
100 | 100 |
|
101 |
for try_num in xrange(2):
|
|
101 |
for try_num in range(2): |
|
102 | 102 |
try: |
103 | 103 |
date = datetime.date(year, month, day) |
104 | 104 |
break |
Also available in: Unified diff
schemas/py_functions.sql: Replaced xrange() with range() for plpython3u