Skip to content

Commit

Permalink
Update src/twisted/spread/flavors.py
Browse files Browse the repository at this point in the history
Co-authored-by: Adi Roiban <adiroiban@gmail.com>
  • Loading branch information
glyph and adiroiban authored Jan 12, 2024
1 parent 15c3c59 commit ed73dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/twisted/spread/flavors.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ def __call__(self, *args, **kw):
"""(internal) action method."""
cacheID = self.broker.cachedRemotelyAs(self.cached)
if cacheID is None:
from .pb import ProtocolError
from twisted.spread.pb import ProtocolError

raise ProtocolError(
"You can't call a cached method when the object hasn't been given to the peer yet."
Expand Down

0 comments on commit ed73dfa

Please sign in to comment.