MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/astroprint/software.py:46–51  ·  view source on GitHub ↗
(self, progressCb, completionCb)

Source from the content-addressed store, hash-verified

44
45 class DepsDownloadProgress(apt.progress.base.AcquireProgress):
46 def __init__(self, progressCb, completionCb):
47 super(DepsDownloadProgress, self).__init__()
48
49 self._progressCb = progressCb
50 self._completionCb = completionCb
51 self._logger = logging.getLogger(__name__)
52
53 def pulse(self, owner):
54 #self._logger.info( "Fetching depedencies progress [ %.2f %% ]" % ( ( float(self.current_items) / float(self.total_items) ) * 100 ) )

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected