Revision 88854f35 api/handlers.py
b/api/handlers.py | ||
---|---|---|
133 | 133 |
changes_since = request.GET.get("changes_since", 0) |
134 | 134 |
if changes_since: |
135 | 135 |
last_update = datetime.fromtimestamp(int(changes_since)) |
136 |
virtual_servers = VirtualMachine.objects.filter(updated__gte=last_update)
|
|
136 |
virtual_servers = VirtualMachine.objects.filter(updated__gt=last_update) |
|
137 | 137 |
if not len(virtual_servers): |
138 | 138 |
return notModified |
139 | 139 |
else: |
Also available in: Unified diff