From 34180d285ac7a7aea19b81f63fcebab81b6c36b8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 16 Mar 2008 18:30:42 +0000 Subject: [PATCH] Another consequence of unit_description -> name. --- data/tools/wmllint | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/tools/wmllint b/data/tools/wmllint index c0debfaae2d..4781c4e1c90 100755 --- a/data/tools/wmllint +++ b/data/tools/wmllint @@ -2143,6 +2143,9 @@ if __name__ == '__main__': if ".user_description" in line: print '"%s", line %d: .user_description may need hand fixup' % \ (filename, lineno) + # Inside themes + if within("theme"): + line = line.replace("[unit_description]", "[unit_name]") # Report the changes if verbose > 0 and transformed != line: msg = "%s, line %d: %s -> %s" % \