aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-03-17 06:04:52 +0000
committerBill Nottingham <notting@redhat.com>2004-03-17 06:04:52 +0000
commitd71c583bdc51617ac431fe7afa8f1b90dfc2ed9b (patch)
treefcf980cd1829084f3c36f7251acbb3e98653d008
parente0764ced10833e0b8ca135c82da7635a2e88fa8c (diff)
downloadinitscripts-d71c583bdc51617ac431fe7afa8f1b90dfc2ed9b.tar
initscripts-d71c583bdc51617ac431fe7afa8f1b90dfc2ed9b.tar.gz
initscripts-d71c583bdc51617ac431fe7afa8f1b90dfc2ed9b.tar.bz2
initscripts-d71c583bdc51617ac431fe7afa8f1b90dfc2ed9b.tar.xz
initscripts-d71c583bdc51617ac431fe7afa8f1b90dfc2ed9b.zip
fix
-rw-r--r--po/xgettext_sh.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/po/xgettext_sh.py b/po/xgettext_sh.py
index 042d0707..137de46f 100644
--- a/po/xgettext_sh.py
+++ b/po/xgettext_sh.py
@@ -42,11 +42,11 @@ def xgettext(arq):
else:
for match in pattern.finditer(l):
pos = match.start()
- text = split(l[pos:], '"')[1]
- if s.has_key(text):
- s[text].append((arq, line))
- else:
- s[text] = [(arq, line)]
+ text = split(l[pos:], '"')[1]
+ if s.has_key(text):
+ s[text].append((arq, line))
+ else:
+ s[text] = [(arq, line)]
f.close()
def print_header():