cleanup trackers replace

This commit is contained in:
Marcos Pinto 2007-11-25 01:11:19 +00:00
parent 9c3929f15e
commit 5c7031ab80
1 changed files with 3 additions and 17 deletions

View File

@ -168,23 +168,9 @@ class DelugeGTK:
if self.manager.unique_IDs[unique_ID].uploaded_memory:
self.manager.unique_IDs[unique_ID].initial_uploaded_memory = \
self.manager.unique_IDs[unique_ID].uploaded_memory
try:
if self.manager.unique_IDs[unique_ID].trackers_changed:
try:
self.manager.replace_trackers(unique_ID, \
self.manager.unique_IDs[unique_ID].trackers)
except:
pass
except AttributeError:
try:
if self.manager.unique_IDs[unique_ID].trackers:
try:
self.manager.replace_trackers(unique_ID, \
self.manager.unique_IDs[unique_ID].trackers)
except:
pass
except AttributeError:
pass
if self.manager.unique_IDs[unique_ID].trackers_changed:
self.manager.replace_trackers(unique_ID, \
self.manager.unique_IDs[unique_ID].trackers)
except AttributeError:
pass