summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-14 10:31:12 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-14 11:32:57 +0000
commit7bd0212869917b0aa32455764b9b763f8e0d64e1 (patch)
treecff4183f748e3d10c39ffac0225bc2c2698e69f5 /morphlib/bins.py
parent4dfa4af0e796e1e0a66c4e171f1124d4eee3476b (diff)
downloadmorph-7bd0212869917b0aa32455764b9b763f8e0d64e1.tar.gz
morphlib.bins: remove create_stratum
create_stratum is no longer used, since strata are now chunk lists
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.