Improve code formatting in webide

This commit is contained in:
Kristóf Tóth 2018-04-05 17:19:56 +02:00
parent bc340e2e19
commit bd84e4fe06

View File

@ -65,9 +65,9 @@ class FileManager: # pylint: disable=too-many-instance-attributes
@property
def files(self):
return [self._relpath(file) for file in glob(join(self._workdir, '**/*'), recursive=True)
if isfile(file) and
self._is_whitelisted(file) and
not any(fnmatchcase(file, blacklisted) for blacklisted in self.exclude)]
if isfile(file)
and self._is_whitelisted(file)
and not any(fnmatchcase(file, blacklisted) for blacklisted in self.exclude)]
@property
def file_contents(self):