aboutsummaryrefslogtreecommitdiffstats
path: root/websites
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@mageia.org>2012-09-16 11:57:47 +0000
committerYuri Chornoivan <yurchor@mageia.org>2012-09-16 11:57:47 +0000
commitdce95be2dea1511c4d4783f81450e84a7b53e180 (patch)
treee2873383ff4d9cd6aacc0a5a62a085cddc489ab5 /websites
parent91c142d0f77bdd8830b8c7da4ad44ea164663704 (diff)
downloadtools-dce95be2dea1511c4d4783f81450e84a7b53e180.tar
tools-dce95be2dea1511c4d4783f81450e84a7b53e180.tar.gz
tools-dce95be2dea1511c4d4783f81450e84a7b53e180.tar.bz2
tools-dce95be2dea1511c4d4783f81450e84a7b53e180.tar.xz
tools-dce95be2dea1511c4d4783f81450e84a7b53e180.zip
Fix regexp
Diffstat (limited to 'websites')
-rw-r--r--websites/langpo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/websites/langpo.py b/websites/langpo.py
index 703635b6..052c4d5a 100644
--- a/websites/langpo.py
+++ b/websites/langpo.py
@@ -33,7 +33,7 @@ for langfile in glob.glob('*.en.lang'):
}
# Parse contents and add them to POT
- messagetemplate='\n\n#\ .*?\n\n'
+ messagetemplate='\n\n#\ .*?\n\;.*?\n.*?\n'
mpattern=re.compile(messagetemplate,re.DOTALL)
for mblock in mpattern.findall(text):
mblock_stripped = mblock.strip('\n')