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

« back to all changes in this revision

Viewing changes to softwarecenter/db/update.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:
412
412
                countrycode = region["countrycode"].lower()
413
413
                # blacklist
414
414
                if "%s%s" % (REGION_BLACKLIST_TAG, countrycode) in tags:
415
 
                    LOG.info("%r.make_doc: skipping region restricted app %r "
 
415
                    LOG.debug("%r.make_doc: skipping region restricted app %r "
416
416
                             "(blacklisted)", self.__class__.__name__, name)
417
417
                    return
418
418
                # whitelist
419
419
                for tag in tags:
420
420
                    if (tag.startswith(REGION_WHITELIST_TAG) and not
421
421
                        "%s%s" % (REGION_WHITELIST_TAG, countrycode) in tag):
422
 
                        LOG.info("%r.make_doc: skipping region restricted "
 
422
                        LOG.debug("%r.make_doc: skipping region restricted "
423
423
                                 "app %r (region not whitelisted)",
424
424
                                 self.__class__.__name__, name)
425
425
                        return