Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSayamindu Dasgupta <sayamindu@gmail.com>2008-11-14 17:28:11 (GMT)
committer Sayamindu Dasgupta <sayamindu@gmail.com>2008-11-14 17:28:11 (GMT)
commitc9652855c9de72c3dd70bae6db3b637d5c5025c3 (patch)
treedb89ca43a4f7dd1c2fdc7eceadfe882bfa026eab
parent1417167ba7e80852d95431f7734496c5aab13798 (diff)
Make pylint happy
-rw-r--r--extensions/cpsection/language/model.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/cpsection/language/model.py b/extensions/cpsection/language/model.py
index aa831fb..d539e7c 100644
--- a/extensions/cpsection/language/model.py
+++ b/extensions/cpsection/language/model.py
@@ -117,7 +117,8 @@ def print_languages():
found_lang = False
for lang in languages:
if lang[2].split('.')[0] == code.split('.')[0]:
- print lang[0].replace(' ', '_') + '/' + lang[1].replace(' ', '_')
+ print lang[0].replace(' ', '_') + '/' + \
+ lang[1].replace(' ', '_')
found_lang = True
break
if not found_lang:
@@ -141,7 +142,7 @@ def set_languages(languages):
if code == languages:
_write_i18n(locale)
return 1
- print (_("Sorry I do not speak \'%s\'.") % language)
+ print (_("Sorry I do not speak \'%s\'.") % languages)
else:
_write_i18n(languages)