Commit 9ca087e4 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Merge branch 'master' of https://code.grnet.gr/git/synnefo

parents ccb52dbc 27876c9b
......@@ -95,12 +95,13 @@ def queue_start(conn):
channel.start_consuming()
class Receipt(object):
def __init__(self, client, user, resource, value, details={}):
def __init__(self, client, user, instance, resource, value, details={}):
self.eventVersion = '1.0'
self.occurredMillis = int(time() * 1000)
self.receivedMillis = self.occurredMillis
self.clientID = client
self.userID = user
self.instanceID = instance
self.resource = resource
self.value = value
self.details = details
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment