changeset 2075:1d8366403411

use logging.info (not print) to tell about not indexed content
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 02 Apr 2013 00:39:37 +0200
parents dc2749d23960
children 1501cd140d03 3c5da455daed 10898faa48b8
files MoinMoin/storage/middleware/indexing.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/middleware/indexing.py	Tue Apr 02 00:30:23 2013 +0200
+++ b/MoinMoin/storage/middleware/indexing.py	Tue Apr 02 00:39:37 2013 +0200
@@ -194,7 +194,7 @@
             return self.data.tell(*args, **kw)
 
     if meta[CONTENTTYPE] in app.cfg.mimetypes_to_index_as_empty:
-        print "SKIPPING", meta[NAME]
+        logging.info("not indexing content of %r as requested by configuration".format(meta[NAME]))
         return u''
 
     if not item_name: