gets a data representation without links
(self, queue=1)
| 107 | |
| 108 | @lock |
| 109 | def getInfoData(self, queue=1): |
| 110 | """gets a data representation without links""" |
| 111 | |
| 112 | packs = self.db.getAllPackages(queue) |
| 113 | for x in self.packageCache.itervalues(): |
| 114 | if x.queue != queue or x.id not in packs: continue |
| 115 | packs[x.id].update(x.toDict()[x.id]) |
| 116 | |
| 117 | return packs |
| 118 | |
| 119 | @lock |
| 120 | @change |
no test coverage detected