/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2010-02-12 12:36:19 UTC
  • Revision ID: jelmer@samba.org-20100212123619-ey8gnwmkjpyoapz3
Fix missing import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
 
82
82
class InstallData(install_data):
 
83
 
83
84
    def run(self):
 
85
        import subprocess
84
86
        self.data_files.extend(self._compile_po_files())
85
87
        self.data_files.extend(self._nautilus_plugin())
86
88
        install_data.run(self)
87
89
 
88
90
        try:
89
91
            subprocess.check_call('gtk-update-icon-cache -f -t /usr/share/icons/hicolor')
90
 
        except:
 
92
        except OSError:
91
93
            pass
92
94
 
93
95
    def _compile_po_files(self):