Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
9ca087e4
Commit
9ca087e4
authored
Apr 10, 2012
by
Kostas Papadimitriou
Browse files
Merge branch 'master' of
https://code.grnet.gr/git/synnefo
parents
ccb52dbc
27876c9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-common/synnefo/lib/queue.py
View file @
9ca087e4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment