MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / _getAddressBracket

Method _getAddressBracket

src/bitmessageqt/foldertree.py:190–196  ·  view source on GitHub ↗
(self, unreadCount = False)

Source from the content-addressed store, hash-verified

188 return unicode(self.address, 'utf-8')
189
190 def _getAddressBracket(self, unreadCount = False):
191 ret = ""
192 if unreadCount:
193 ret += " (" + str(self.unreadCount) + ")"
194 if self.address is not None:
195 ret += " (" + self.address + ")"
196 return ret
197
198 def data(self, column, role):
199 if column == 0:

Callers 1

dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected