Author: esr
Date: Tue Sep 30 03:25:35 2008
New Revision: 29777

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29777&view=rev
Log:
Fix incorrect warnlevel usage.

Modified:
    trunk/data/tools/wesnoth/wmltools.py

Modified: trunk/data/tools/wesnoth/wmltools.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/tools/wesnoth/wmltools.py?rev=29777&r1=29776&r2=29777&view=diff
==============================================================================
--- trunk/data/tools/wesnoth/wmltools.py (original)
+++ trunk/data/tools/wesnoth/wmltools.py Tue Sep 30 03:25:35 2008
@@ -337,12 +337,12 @@
                             self.properties[namespace] = {}
                         self.properties[namespace][prop] = value
                     if "# wmlscope: start ignoring" in line:
-                        if warnlevel:
+                        if warnlevel > 1:
                             print '"%s", line %d: starting ignoring' \
                                   % (filename, n+1)
                         ignoreflag = True
                     elif "# wmlscope: stop ignoring" in line:
-                        if warnlevel:
+                        if warnlevel > 1:
                             print '"%s", line %d: stopping ignoring' \
                                   % (filename, n+1)
                         ignoreflag = False


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to