summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/bins.py')
-rw-r--r--morphlib/bins.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/morphlib/bins.py b/morphlib/bins.py
index 93aa7b15..0c9ecadf 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -95,14 +95,6 @@ def create_chunk(rootdir, f, regexps, dump_memory_profile=None):
dump_memory_profile('after removing in create_chunks')
-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')
- tar.add(rootdir, arcname='.')
- tar.close()
-
-
def unpack_binary_from_file(f, dirname): # pragma: no cover
'''Unpack a binary into a directory.