Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Unified Diff: juju/hooks/protocol.py

Issue 7241062: Fix relation-ids cache coherency for hooks.
Patch Set: Fix relation-ids cache coherency for hooks. Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « juju/hooks/invoker.py ('k') | juju/hooks/tests/test_invoker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: juju/hooks/protocol.py
=== modified file 'juju/hooks/protocol.py'
--- juju/hooks/protocol.py 2012-10-16 23:19:55 +0000
+++ juju/hooks/protocol.py 2013-02-01 03:35:02 +0000
@@ -54,7 +54,8 @@
from juju.lib import serializer
from juju.lib.format import get_charm_formatter, get_charm_formatter_from_env
from juju.state.errors import (
- InvalidRelationIdentity, RelationStateNotFound, UnitRelationStateNotFound)
+ InvalidRelationIdentity, RelationStateNotFound, UnitRelationStateNotFound,
+ RelationIdentNotFound)
from juju.state.hook import RelationHookContext
@@ -92,7 +93,8 @@
UnitRelationStateNotFound: "UnitRelationStateNotFound",
MustSpecifyRelationName: "MustSpecifyRelationName",
InvalidRelationIdentity: "InvalidRelationIdentity",
- RelationStateNotFound: "RelationStateNotFound"
+ RelationStateNotFound: "RelationStateNotFound",
+ RelationIdentNotFound: "RelationIdentNotFound"
}
« no previous file with comments | « juju/hooks/invoker.py ('k') | juju/hooks/tests/test_invoker.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b