MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / premodule

Method premodule

dshell/plugins/flows/dataflows.py:26–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 )
25
26 def premodule(self):
27 if self.size <= 0:
28 self.warn("Cannot have a size that's less than or equal to zero (size: {}). Setting to 1.".format(self.size))
29 self.size = 1
30
31 def connection_handler(self, conn):
32 if conn.clientbytes + conn.serverbytes >= self.size:

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected