~ubuntu-branches/debian/jessie/phatch/jessie

« back to all changes in this revision

Viewing changes to phatch/lib/imageTable.py

  • Committer: Bazaar Package Importer
  • Author(s): Stani M
  • Date: 2009-10-01 05:36:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20091001053609-wvy9yu0u3i6fuv4t
Tags: 0.2.2-1
* Upstream bugfix release (Closes LP: #236548, #436595, #437161, 
 #437376, #437852, #439108, #439359, #440273, #440956)
* debian/control: Dropped dependency python-wxgtk2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    def update(self):
72
72
        """Update the table from the image source file."""
73
73
        self.label = os.path.basename(self.filename)
74
 
        self.thumb = openImage.thumb_from_file(self.filename,
75
 
            thumb_size=THUMB_SIZE)
 
74
        self.thumb = openImage.open_thumb(self.filename, size=THUMB_SIZE)
76
75
        info = metadata.InfoExtract(self.filename)
77
76
        info.extract_all()
78
77
        self.info = info.dump(expand=True)