~mvo/software-center/add-missing-dependency-lp888401

« back to all changes in this revision

Viewing changes to softwarecenter/db/database.py

  • Committer: Michael Vogt
  • Date: 2012-12-06 15:37:34 UTC
  • mfrom: (3249.1.1 minor-logging-fixes)
  • Revision ID: michael.vogt@ubuntu.com-20121206153734-p8ur2qg88kx3dhez
* lp:~mvo/software-center/minor-logging-fixes:
  - drop some LOG.info() messages to LOG.debug() to spam the user
    less

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
 
224
224
    def open(self, pathname=None, use_axi=True, use_agent=True):
225
225
        """ open the database """
226
 
        LOG.info("open() database: path=%s use_axi=%s "
 
226
        LOG.debug("open() database: path=%s use_axi=%s "
227
227
                          "use_agent=%s" % (pathname, use_axi, use_agent))
228
228
        if pathname:
229
229
            self._db_pathname = pathname
265
265
        # we only care about the utime() update from update-a-x-i
266
266
        if not event == Gio.FileMonitorEvent.ATTRIBUTE_CHANGED:
267
267
            return
268
 
        LOG.info("afile '%s' changed" % afile)
 
268
        LOG.debug("afile '%s' changed" % afile)
269
269
        if self._timeout_id:
270
270
            GLib.source_remove(self._timeout_id)
271
271
            self._timeout_id = None
290
290
 
291
291
    def reopen(self):
292
292
        """ reopen the database """
293
 
        LOG.info("reopen() database")
 
293
        LOG.debug("reopen() database")
294
294
        self.open(use_axi=self._use_axi, use_agent=self._use_agent)
295
295
        self.emit("reopen")
296
296