Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
009fe55c
Commit
009fe55c
authored
Jun 21, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve little code style only.
parent
de58fb34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
product/ERP5/Tool/IntrospectionTool.py
product/ERP5/Tool/IntrospectionTool.py
+3
-4
No files found.
product/ERP5/Tool/IntrospectionTool.py
View file @
009fe55c
...
...
@@ -187,7 +187,7 @@ class IntrospectionTool(LogMixin, BaseTool):
if
not
os
.
path
.
exists
(
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'
)
while
1
:
...
...
@@ -215,7 +215,6 @@ class IntrospectionTool(LogMixin, BaseTool):
return
"
\
n
"
.
join
(
lines
[
start
:
len
(
lines
)])
security
.
declareProtected
(
Permissions
.
ManagePortal
,
'tailEventLog'
)
def
tailEventLog
(
self
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment