Another consequence of unit_description -> name.
This commit is contained in:
parent
9b72d2af84
commit
34180d285a
1 changed files with 3 additions and 0 deletions
|
@ -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" % \
|
||||
|
|
Loading…
Add table
Reference in a new issue