diff --git a/parsers/caves.py b/parsers/caves.py index d92483d..305ee6c 100644 --- a/parsers/caves.py +++ b/parsers/caves.py @@ -74,6 +74,7 @@ def readentrance(filename): cached_primary_slug = slugs[0]) e.save() primary = True + print "list of " for slug in slugs: print slug, filename cs = models.EntranceSlug(entrance = e, @@ -86,6 +87,7 @@ def readcave(filename): with open(os.path.join(settings.CAVEDESCRIPTIONS, filename)) as f: contents = f.read() context = " in file %s" % filename + print "Reading file %s" % filename cavecontentslist = getXML(contents, "cave", maxItems = 1, context = context) #print cavecontentslist if len(cavecontentslist) == 1: