Revision 0140e54b
b/api/util.py | ||
---|---|---|
56 | 56 |
if now - utc_since > timedelta(seconds=settings.POLL_LIMIT): |
57 | 57 |
raise BadRequest('Too old changes-since value.') |
58 | 58 |
|
59 |
return since |
|
59 |
return utc_since
|
|
60 | 60 |
|
61 | 61 |
def random_password(length=8): |
62 | 62 |
pool = ascii_letters + digits |
Also available in: Unified diff