Commit 56c3b790 authored by Romain Courteaud's avatar Romain Courteaud

slapos_accounting: coding style

parent 56b9c602
...@@ -7,7 +7,6 @@ from DateTime import DateTime ...@@ -7,7 +7,6 @@ from DateTime import DateTime
portal = context.getPortalObject() portal = context.getPortalObject()
instance_tree = context instance_tree = context
now = DateTime()
tag = '%s_%s' % (instance_tree.getUid(), script.id) tag = '%s_%s' % (instance_tree.getUid(), script.id)
activate_kw = {'tag': tag} activate_kw = {'tag': tag}
if portal.portal_activities.countMessageWithTag(tag) > 0: if portal.portal_activities.countMessageWithTag(tag) > 0:
......
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