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

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

src/u/l/ulipad-HEAD/mixins/InputAssistant.py   ulipad(Download)
                        result.sort(lambda x, y:cmp(x.upper(), y.upper()))
                except:
                    error.error('Execute %s.%s failed!' % (func.module_name, func.function_name))
                    error.traceback()
                    return False
                    return True
                else:
                    error.error("Can't recognize result type " + flag)
                    error.traceback()
                    return True
                    self.set_modules_time(mod)
                except:
                    error.error("Can't load the module " + module)
                    error.traceback()
                    return False
                        slist.extend(result)
                except:
                    error.error('Execute %s.%s failed!' % (func.module_name, func.function_name))
                    error.traceback()
                    return False

src/u/l/ulipad-HEAD/mixins/Import.py   ulipad(Download)
            keylist[keys] = (mid, 'main')
        else:
            error.error('There is already %s defined! Please check.' % keys)
 
    for mid, v in editoraccellist.items():
        keys, func = v
        if not keys in keylist:
            keylist[keys] = (mid, 'editor')
        else:
            error.error('There is already %s defined! Please check.' % keys)
                        win.AddText(unichr(char))
                    except:
                        error.error("Conver %d to unichar failed" % char)
                        error.traceback()
                        break

src/u/l/ulipad-HEAD/mixins/mColumnMode.py   ulipad(Download)
                        win.AddText(unichr(char))
                    except:
                        error.error("Conver %d to unichar failed" % char)
                        error.traceback()
                        break

src/u/l/ulipad-HEAD/mixins/mHotKey.py   ulipad(Download)
            keylist[keys] = (mid, 'main')
        else:
            error.error('There is already %s defined! Please check.' % keys)
 
    for mid, v in editoraccellist.items():
        keys, func = v
        if not keys in keylist:
            keylist[keys] = (mid, 'editor')
        else:
            error.error('There is already %s defined! Please check.' % keys)

src/u/l/ulipad-HEAD/mixins/Editor.py   ulipad(Download)
                ikey = ord(uk)
            else:
                error.error("[TextEditor] Undefined char [%s]" % uk)
                continue
        return f, ikey

src/u/l/ulipad-HEAD/mixins/LexerBase.py   ulipad(Download)
            self._syntaxnames.append(name)
        else:
            error.error(tr('The name [%s] is already existed in lexer [%s]') % (name, self.name))
 
    def getSyntaxItems(self):
                        break
                    else:
                        error.error(tr('The name [%s] is already existed in lexer [%s]') % (name, self.name))
 
                    i += 1