summaryrefslogtreecommitdiff
path: root/morphlib/bins.py
diff options
context:
space:
mode:
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 ce17d0a1..3c6c1bad 100644
--- a/morphlib/bins.py
+++ b/morphlib/bins.py
@@ -66,7 +66,7 @@ def create_chunk(rootdir, f, regexps, dump_memory_profile=None):
yield filename
logging.debug('Creating chunk file %s from %s with regexps %s' %
- (f.name, rootdir, regexps))
+ (getattr(f, 'name', 'UNNAMED'), rootdir, regexps))
dump_memory_profile('at beginning of create_chunk')
compiled = [re.compile(x) for x in regexps]