Fixes based off of pychecker results

svn: r539
This commit is contained in:
Don Allingham
2001-11-02 06:55:19 +00:00
parent e5b8e6e90a
commit 5b39f24e89
41 changed files with 1455 additions and 1377 deletions

View File

@ -212,7 +212,6 @@ class Gallery(ImageSelect):
#-------------------------------------------------------------------------
def add_thumbnail(self, photo):
object = photo.getReference()
path = object.getPath()
thumb = utils.thumb_path(self.db.getSavePath(),object)
self.icon_list.append(thumb,object.getDescription())
@ -435,7 +434,6 @@ class LocalMediaProperties:
fname = self.object.getPath()
self.change_dialog = libglade.GladeXML(const.imageselFile,"change_description")
window = self.change_dialog.get_widget("change_description")
descr_window = self.change_dialog.get_widget("description")
pixmap = self.change_dialog.get_widget("pixmap")
self.attr_type = self.change_dialog.get_widget("attr_type")
@ -520,7 +518,6 @@ class GlobalMediaProperties:
self.path = self.db.getSavePath()
self.change_dialog = libglade.GladeXML(const.imageselFile,"change_global")
window = self.change_dialog.get_widget("change_global")
descr_window = self.change_dialog.get_widget("description")
pixmap = self.change_dialog.get_widget("pixmap")
self.attr_type = self.change_dialog.get_widget("attr_type")