summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 17:04:17 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2011-11-03 17:04:17 +0000
commit222fcd9945e127d15282cd628e2e956500783213 (patch)
tree66445709c4651f57956121e61b20f4ef4108cd6f /morphlib/bins.py
parentf205ebeef227115021ee764458508ef3a139d1aa (diff)
downloadmorph-222fcd9945e127d15282cd628e2e956500783213.tar.gz
Add tests for create_chunk's glob handling
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r--morphlib/bins.py2
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')