Code clarity fixes

autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
This commit is contained in:
Laurent Bachelier 2013-03-15 19:54:17 +01:00
commit c21d1f7925
37 changed files with 6 additions and 59 deletions

View file

@ -48,7 +48,6 @@ class GoogleTranslateBackend(BaseBackend, ICapTranslate):
'Telugu':'te', 'Thai':'th', 'Turkish':'tr', 'Ukrainian':'uk', 'Urdu':'ur', 'Vietnamese':'vi', 'Welsh':'cy', 'Yiddish':'yi',
}
def translate(self, lan_from, lan_to, text):
if not lan_from in self.GOOGLELANGUAGE.keys():
raise LanguageNotSupported()