MCPcopy Index your code
hub / github.com/pyload/pyload / getStatusName

Method getStatusName

module/PyFile.py:125–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

123 self.setStatus(status)
124
125 def getStatusName(self):
126 if self.status not in (13, 14) or not self.statusname:
127 return self.m.statusMsg[self.status]
128 else:
129 return self.statusname
130
131 def hasStatus(self, status):
132 return statusMap[status] == self.status

Callers 4

toDbDictMethod · 0.95
statusDownloadsMethod · 0.80
_update_statusMethod · 0.80
failMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected