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

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

src/g/r/gramps-3.4.2/src/plugins/lib/libgedcom.py   Gramps(Download)
    def __init__(self, dbase, ifile, filename, callback, stage_one, 
                 default_source):
        UpdateCallback.__init__(self, callback)
 
        self.set_total(stage_one.get_line_count())

src/g/r/gramps-3.4.2/src/plugins/import/ImportXml.py   Gramps(Download)
    def __init__(self, database, callback, change):
        UpdateCallback.__init__(self, callback)
        self.__gramps_version = 'unknown'
        self.__xml_version = '1.0.0'
        self.stext_list = []

src/g/r/gramps-3.4.2/src/plugins/export/ExportXml.py   Gramps(Download)
        compress - attempt to compress the database
        """
        UpdateCallback.__init__(self, callback)
        self.compress = compress
        if not _gzip_ok:

src/g/r/gramps-3.4.2/src/plugins/export/ExportGedcom.py   Gramps(Download)
    def __init__(self, database, cmd_line=0,
                 option_box=None, callback=None):
        UpdateCallback.__init__(self, callback)
 
        self.dbase = database

src/g/r/gramps-3.4.2/src/plugins/tool/Verify.py   Gramps(Download)
        ManagedWindow.__init__(self, uistate,[], self.__class__)
        if uistate:
            UpdateCallback.__init__(self, self.uistate.pulse_progressbar)
 
        self.dbstate = dbstate

src/g/r/gramps-3.4.2/src/plugins/tool/RemoveUnused.py   Gramps(Download)
 
        ManagedWindow.ManagedWindow.__init__(self, uistate,[], self.__class__)
        UpdateCallback.__init__(self, self.uistate.pulse_progressbar)
 
        self.dbstate = dbstate

src/g/r/gramps-3.4.2/src/plugins/tool/RebuildRefMap.py   Gramps(Download)
            print "Rebuilding reference maps..."
 
        UpdateCallback.__init__(self, self.callback)
        self.set_total(6)
        self.db.reindex_reference_map(self.update)

src/g/r/gramps-3.4.2/src/plugins/tool/Rebuild.py   Gramps(Download)
            uistate.push_message(dbstate, _("Rebuilding secondary indices..."))
 
            UpdateCallback.__init__(self, self.callback)
            self.set_total(11)
            self.db.rebuild_secondary(self.update)

src/g/r/gramps-3.4.2/src/plugins/tool/MediaManager.py   Gramps(Download)
    def __init__(self,db,callback):
        UpdateCallback.__init__(self,callback)
        self.db = db
        self.prepared = False
 

src/g/r/gramps-3.4.2/src/gen/db/write.py   Gramps(Download)
    def gramps_upgrade(self, callback=None):
        UpdateCallback.__init__(self, callback)
 
        version = self.metadata.get('version', default=_MINVERSION)