* src/ImageSelect.py
Fixed typo in on_drag_begin * src/RelLib.py Check for the existance of the witness member of an Event. ZODB stores an object, so elements read in from old databases may not have the element, which can cause a traceback. * src/AutoComp.py Don't build popdown lists if the number of elements exceeds 250. Otherwise, the menus will become unusable, and just consume tons of memory. * src/VersionControl.py Sort revision numbers based on numerical value instead of ASCII value. * src/VersionControl.py Check return values of all subprocesses svn: r1663
This commit is contained in:
@ -1361,7 +1361,11 @@ class Event(DataObj):
|
||||
self.name = source.name
|
||||
self.cause = source.cause
|
||||
if source.witness:
|
||||
self.witness = source.witness[:]
|
||||
# old ZODB database may not have this element
|
||||
try:
|
||||
self.witness = source.witness[:]
|
||||
except:
|
||||
self.witness = None
|
||||
else:
|
||||
self.witness = None
|
||||
else:
|
||||
|
Reference in New Issue
Block a user