Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/a/w/awn-extras-HEAD/applets/maintained/feeds/feeds.py   awn-extras(Download)
                f = fp.read()
        except IOError, e:
            dialog = classes.ErrorDialog(self, _("Could not open '%s'") % config_path, e)
            dialog.run()
            dialog.destroy()
                fp.write(f)
        except IOError, e:
            dialog = classes.ErrorDialog(self, _("Could not save '%s'") % config_path, e)
            dialog.run()
            dialog.destroy()
                f = fp.read()
        except IOError, e:
            dialog = classes.ErrorDialog(self, _("Could not open '%s'") % uri, e)
            dialog.run()
            dialog.destroy()

src/a/w/awn-extras-HEAD/applets/maintained/feeds/prefs.py   awn-extras(Download)
                fp.write('\n'.join(initial_text + feeds_text + end_text))
        except IOError, e:
            dialog = classes.ErrorDialog(self, _("Could not save '%s'") % filename, e)
            dialog.run()
            dialog.destroy()