This commit is contained in:
Alon Zakai 2007-02-13 16:31:29 +00:00
parent 9235d0158d
commit 6e931eac93
1 changed files with 4 additions and 0 deletions

View File

@ -633,6 +633,10 @@ class Manager:
self.state.queue.append(unique_ID) self.state.queue.append(unique_ID)
assert(len(self.unique_IDs) == len(self.state.torrents)) assert(len(self.unique_IDs) == len(self.state.torrents))
print self.unique_IDs, self.state.queue
print len(self.unique_IDs), len(self.state.queue)
assert(len(self.unique_IDs) == len(self.state.queue)) assert(len(self.unique_IDs) == len(self.state.queue))
assert(len(self.unique_IDs) == deluge_core.get_num_torrents()) assert(len(self.unique_IDs) == deluge_core.get_num_torrents())