shuffle commit symbol around

master
Jon Dowland 2009-11-17 15:56:42 +00:00
parent 1820436670
commit 07dcf7d6e7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ into an ikiwiki tag name using a script such as
pattern = r'\[\[Category:([^\]]+)\]\]' pattern = r'\[\[Category:([^\]]+)\]\]'
def manglecat(mo): def manglecat(mo):
return '[\[!tag %s]]' % mo.group(1).strip().replace(' ','_') return '\[[!tag %s]]' % mo.group(1).strip().replace(' ','_')
for line in sys.stdin.readlines(): for line in sys.stdin.readlines():
res = re.match(pattern, line) res = re.match(pattern, line)