Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/u/l/ulipad-HEAD/mixins/Import.py   ulipad(Download)
        except:
            error.traceback()
            common.warn(tr('There was something wrong with loading the session file.'))
Mixin.setMixin('mainframe', 'OnFileSessionOpen', OnFileSessionOpen)
 
        except:
            error.traceback()
            common.warn(tr('There was something wrong with saving the session file.'))
Mixin.setMixin('mainframe', 'OnFileSessionSave', OnFileSessionSave)
 

src/u/l/ulipad-HEAD/mixins/FindReplace.py   ulipad(Download)
    def _find(self, flag):
        self.getValue()
        if not self.finder.findtext:
            common.warn(tr("Target text can't be empty."))
            return
    def OnReplace1(self, event):
        self.getValue()
        if not self.finder.findtext:
            common.warn(tr("Target text can't be empty."))
            return
    def OnReplaceAll(self, event):
        self.getValue()
        if not self.finder.findtext:
            common.warn(tr("Target text can't be empty."))
            return
    def OnCount(self, event):
        self.getValue()
        if not self.finder.findtext:
            common.warn(tr("Target text can't be empty."))
            return

src/u/l/ulipad-HEAD/plugins/svn_plugin/SvnSettings.py   ulipad(Download)
                    key = _key['miscellany']
            except:
                common.warn(tr("Maybe your subversion doesn't be installed or installed uncorrectly."))
                raise
            key.values.set('global-ignores', v['svn_global_ignores'])
 
            try:
                key = winreg.Key(winreg.HKCU, r'Software\Tigris.org\Subversion\Servers\global')
            except:
                common.warn(tr("Maybe your subversion doesn't be installed or installed uncorrectly."))
                        ini.save()
            else:
                common.warn(tr("Maybe your subversion doesn't be installed or installed uncorrectly."))
 
    def _get_info(self):
                    key = _key['miscellany']
            except:
                common.warn(tr("Maybe your subversion doesn't be installed or installed uncorrectly."))
                raise
            if 'global-ignores' in key.values:
                key = winreg.Key(winreg.HKCU, r'Software\Tigris.org\Subversion\Servers\global')
            except:
                common.warn(tr("Maybe your subversion doesn't be installed or installed uncorrectly."))
                raise
 

src/u/l/ulipad-HEAD/plugins/pairprog/Concurrent.py   ulipad(Download)
                    self.callplugin('start', self, 'server')
            except:
                common.warn(tr("Start server error!"))
                error.traceback()
        else:
                file(filename, 'w').write(self.chatroom.GetText().encode('utf-8'))
            except:
                common.warn(tr("There is error as saving the file"))
            else:
                common.note(tr("Finished!"))

src/u/l/ulipad-HEAD/mixins/mSession.py   ulipad(Download)
        except:
            error.traceback()
            common.warn(tr('There was something wrong with loading the session file.'))
Mixin.setMixin('mainframe', 'OnFileSessionOpen', OnFileSessionOpen)
 
        except:
            error.traceback()
            common.warn(tr('There was something wrong with saving the session file.'))
Mixin.setMixin('mainframe', 'OnFileSessionSave', OnFileSessionSave)
 

src/u/l/ulipad-HEAD/mixins/Commands.py   ulipad(Download)
                    except:
                        error.traceback()
                        common.warn("There is some wrong when run the command")
                wx.CallAfter(fn)