diff options
author | Richard Dale <richard.dale@codethink.co.uk> | 2013-05-23 17:00:16 +0100 |
---|---|---|
committer | Richard Dale <richard.dale@codethink.co.uk> | 2013-05-24 15:53:28 +0100 |
commit | 182cae2a1a3e743d031cd35ba3f77b5a280cd63b (patch) | |
tree | 181ee798ea2c3039d643f4f803b279d650dbbb31 /morphlib/bins.py | |
parent | 54bc976b363bd34dfd39ba343530b8bc42cb0715 (diff) | |
download | morph-182cae2a1a3e743d031cd35ba3f77b5a280cd63b.tar.gz |
Remove excessive debugging messages
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r-- | morphlib/bins.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py index 1721c69a..3c6f2c88 100644 --- a/morphlib/bins.py +++ b/morphlib/bins.py @@ -72,7 +72,6 @@ def chunk_filenames(rootdir, regexps, dump_memory_profile=None): filename = os.path.dirname(filename) yield filename - logging.debug('regexps: %s' % repr(regexps)) compiled = [re.compile(x) for x in regexps] include = set() for dirname, subdirs, basenames in os.walk(rootdir): @@ -83,7 +82,6 @@ def chunk_filenames(rootdir, regexps, dump_memory_profile=None): if matches(os.path.relpath(filename, rootdir)): for name in names_to_root(filename): if name not in include: - logging.debug('regexp match: %s' % name) include.add(name) else: logging.debug('regexp MISMATCH: %s' % filename) @@ -121,8 +119,6 @@ def create_chunk(rootdir, f, regexps, dump_memory_profile=None): normalized_timestamp = 683074800 include = chunk_filenames(rootdir, regexps, dump_memory_profile) - logging.debug('Creating chunk file %s from %s with regexps %s' % - (getattr(f, 'name', 'UNNAMED'), rootdir, regexps)) dump_memory_profile('at beginning of create_chunk') tar = tarfile.open(fileobj=f, mode='w') |