MCPcopy Create free account
hub / github.com/Syncplay/syncplay / wrapper

Method wrapper

syncplay/protocols.py:455–458  ·  view source on GitHub ↗
(self, *args, **kwds)

Source from the content-addressed store, hash-verified

453 def requireLogged(f): # @NoSelf
454 @wraps(f)
455 def wrapper(self, *args, **kwds):
456 if not self._logged:
457 self.dropWithError(getMessage("not-known-server-error"))
458 return f(self, *args, **kwds)
459 return wrapper
460
461 def showDebugMessage(self, line):

Callers

nothing calls this directly

Calls 2

dropWithErrorMethod · 0.95
getMessageFunction · 0.90

Tested by

no test coverage detected