Index: cms/sources.py |
=================================================================== |
--- a/cms/sources.py |
+++ b/cms/sources.py |
@@ -115,10 +115,8 @@ |
def list_localizable_files(self): |
default_locale = self.read_config().get('general', 'defaultlocale') |
- return filter( |
- lambda f: os.path.splitext(f)[1].lower() != '.json', |
- self.list_files('locales/%s' % default_locale) |
Sebastian Noack
2018/04/19 13:51:19
For whatever reason, my script missed this one.
|
- ) |
+ return filter(lambda f: os.path.splitext(f)[1].lower() != '.json', |
+ self.list_files('locales/%s' % default_locale)) |
def has_localizable_file(self, locale, filename): |
return self.has_file(self.localizable_file_filename(locale, filename)) |