Пример #1
0
 def discard(self, token):
     with flush():
         getUtility(IPendings).confirm(token)
         getUtility(IWorkflowStateManager).discard(token)
Пример #2
0
 def discard(self, token):
     """See `IRegistrar`."""
     with flush():
         getUtility(IPendings).confirm(token)
         getUtility(IWorkflowStateManager).discard(
             SubscriptionWorkflow.__name__, token)
Пример #3
0
 def discard(self, token):
     """See `IRegistrar`."""
     with flush():
         getUtility(IPendings).confirm(token)
         getUtility(IWorkflowStateManager).discard(
             SubscriptionWorkflow.__name__, token)