diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-03-20 11:00:21 -0700 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-03-20 11:00:21 -0700 |
commit | 380f365902a24180aa5a4ca1b24b451b057fee7c (patch) | |
tree | 20f9f81621231fb22ce9c6418c58dc1bccc0fe7d /rpc.py | |
parent | 970e4e7ce64e5a1e58aa96705d2039780ee832bb (diff) | |
download | decorator-380f365902a24180aa5a4ca1b24b451b057fee7c.tar.gz |
even better
Diffstat (limited to 'rpc.py')
-rw-r--r-- | rpc.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -162,8 +162,9 @@ def updated_releases(store, since): return [(row['name'], row['version']) for row in result] -def changelog_last_hour(store, with_ids=False): - return changelog(store, int(time.time())-3600, with_ids) +def changelog_last_serial(store): + "return the last changelog event's serial" + return store.changelog_last_serial() def changelog(store, since, with_ids=False): result = [] |