summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r--morphlib/bins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py
index f42951b7..93aa7b15 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -29,7 +29,7 @@ import stat
import tarfile
-def create_chunk(rootdir, f, regexps, ex, dump_memory_profile=None):
+def create_chunk(rootdir, f, regexps, dump_memory_profile=None):
'''Create a chunk from the contents of a directory.
Only files and directories that match at least one of the regular
@@ -95,7 +95,7 @@ def create_chunk(rootdir, f, regexps, ex, dump_memory_profile=None):
dump_memory_profile('after removing in create_chunks')
-def create_stratum(rootdir, f, ex):
+def create_stratum(rootdir, f):
'''Create a stratum from the contents of a directory.'''
logging.debug('Creating stratum file %s from %s' % (f.name, rootdir))
tar = tarfile.open(fileobj=f, mode='w:gz')