From 75c80f3f70d9908623f5cbdee20ca41beaac396f Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Wed, 11 Jan 2012 20:59:36 +0100 Subject: [PATCH] Utils: add log info for rules.py --- utils/rules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/rules.py b/utils/rules.py index 0560b8a7..26041805 100755 --- a/utils/rules.py +++ b/utils/rules.py @@ -126,6 +126,7 @@ OPTIONS -l, --log=LEVEL set the logging level to LEVEL + outputs logging information to rules.log possible LEVEL values are : debug, info, warning, error and critical ''' @@ -229,7 +230,7 @@ def main(): for filename in songfiles: with open(filename, 'r+') as songfile: - + logging.info("checking file: "+filename) data = songfile.read() #no dots for acronyms #data = re.sub("(?P[A-Z])\.","\g", data)