summaryrefslogtreecommitdiff
path: root/rpc.py
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-03-20 11:00:21 -0700
committerRichard Jones <richard@mechanicalcat.net>2013-03-20 11:00:21 -0700
commit380f365902a24180aa5a4ca1b24b451b057fee7c (patch)
tree20f9f81621231fb22ce9c6418c58dc1bccc0fe7d /rpc.py
parent970e4e7ce64e5a1e58aa96705d2039780ee832bb (diff)
downloaddecorator-380f365902a24180aa5a4ca1b24b451b057fee7c.tar.gz
even better
Diffstat (limited to 'rpc.py')
-rw-r--r--rpc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpc.py b/rpc.py
index d1e2fca..968d5a1 100644
--- a/rpc.py
+++ b/rpc.py
@@ -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 = []