--- a/Allura/allura/model/repo.py
+++ b/Allura/allura/model/repo.py
@@ -554,10 +554,10 @@
@property
def has_html_view(self):
- if self.content_type.startswith('text/') or \
- self.extension in VIEWABLE_EXTENSIONS or\
- self.extension in self.repo._additional_viewable_extensions or\
- utils.is_text_file(self.text):
+ if (self.content_type.startswith('text/') or
+ self.extension in VIEWABLE_EXTENSIONS or
+ self.extension in self.repo._additional_viewable_extensions or
+ utils.is_text_file(self.text)):
return True
return False