Commit 009fe55c authored by Rafael Monnerat's avatar Rafael Monnerat

Improve little code style only.

parent de58fb34
...@@ -187,7 +187,7 @@ class IntrospectionTool(LogMixin, BaseTool): ...@@ -187,7 +187,7 @@ class IntrospectionTool(LogMixin, BaseTool):
if not os.path.exists(log_file): if not os.path.exists(log_file):
raise IOError, 'The file: %s does not exist.' % log_file raise IOError, 'The file: %s does not exist.' % log_file
char_per_line=75 char_per_line = 75
tailed_file = open(log_file,'r') tailed_file = open(log_file,'r')
while 1: while 1:
...@@ -215,7 +215,6 @@ class IntrospectionTool(LogMixin, BaseTool): ...@@ -215,7 +215,6 @@ class IntrospectionTool(LogMixin, BaseTool):
return "\n".join(lines[start:len(lines)]) return "\n".join(lines[start:len(lines)])
security.declareProtected(Permissions.ManagePortal, 'tailEventLog') security.declareProtected(Permissions.ManagePortal, 'tailEventLog')
def tailEventLog(self): def tailEventLog(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment