comparison piecrust/importing/base.py @ 539:9093618aea08

import: Add some debug logging.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 31 Jul 2015 00:29:14 -0700
parents 2daa05a21026
children
comparison
equal deleted inserted replaced
538:423f06934358 539:9093618aea08
55 inverse=True) 55 inverse=True)
56 56
57 for fn in filenames: 57 for fn in filenames:
58 full_fn = os.path.join(dirpath, fn) 58 full_fn = os.path.join(dirpath, fn)
59 rel_fn = os.path.join(rel_dirpath, fn) 59 rel_fn = os.path.join(rel_dirpath, fn)
60 logger.debug("Importing file: %s" % rel_fn)
60 self._importFile(full_fn, rel_fn, *args, **kwargs) 61 self._importFile(full_fn, rel_fn, *args, **kwargs)
61 62
62 63
63 def create_page(app, rel_path, metadata, content): 64 def create_page(app, rel_path, metadata, content):
64 path = os.path.join(app.root_dir, rel_path) 65 path = os.path.join(app.root_dir, rel_path)