diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 17:04:17 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-11-03 17:04:17 +0000 |
commit | 222fcd9945e127d15282cd628e2e956500783213 (patch) | |
tree | 66445709c4651f57956121e61b20f4ef4108cd6f /morphlib/bins.py | |
parent | f205ebeef227115021ee764458508ef3a139d1aa (diff) | |
download | morph-222fcd9945e127d15282cd628e2e956500783213.tar.gz |
Add tests for create_chunk's glob handling
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r-- | morphlib/bins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py index 06956cd3..ed2ac555 100644 --- a/morphlib/bins.py +++ b/morphlib/bins.py @@ -27,7 +27,7 @@ import tarfile import morphlib -def create_chunk(rootdir, chunk_filename): +def create_chunk(rootdir, chunk_filename, globs): '''Create a chunk from the contents of a directory.''' logging.debug('Creating chunk file %s from %s' % (chunk_filename, rootdir)) tar = tarfile.open(name=chunk_filename, mode='w:gz') |