summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2014-06-15 14:29:57 +0100
committerSam Thursfield <sam@afuera.me.uk>2014-08-29 15:14:32 +0000
commit6e108893aea982f59f6d2ef595b3b99f58a49772 (patch)
tree27005e4ce1228ac6f9d54a59baad650adcee4eac
parent9c0011417081326ebb72d9ed02fcbbc456946dc4 (diff)
downloadmorph-sam/no-repo-alias-logging.tar.gz
Don't log repo alias expansionssam/no-repo-alias-logging
To date I've never had a problem with repo alias expansion. I think these messages are just cluttering the log.
-rw-r--r--morphlib/repoaliasresolver.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/morphlib/repoaliasresolver.py b/morphlib/repoaliasresolver.py
index bc759dd4..fb1b5dad 100644
--- a/morphlib/repoaliasresolver.py
+++ b/morphlib/repoaliasresolver.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2013 Codethink Limited
+# Copyright (C) 2012-2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -90,9 +90,6 @@ class RepoAliasResolver(object):
pat = getattr(self.aliases[prefix], patname)
result = self._apply_url_pattern(pat, suffix)
- logging.debug("Expansion of %s for %s yielded: %s" %
- (reponame, patname, result))
-
return result
def _split_reponame(self, reponame):