Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
2a12f841
Commit
2a12f841
authored
Mar 15, 2017
by
LE GAC Renaud
Browse files
Rename the class Metric2D2 as Metric2D.
parent
947da531
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
controllers/plugin_event.py
controllers/plugin_event.py
+2
-2
modules/plugin_event/__init__.py
modules/plugin_event/__init__.py
+1
-1
modules/plugin_event/report_tools.py
modules/plugin_event/report_tools.py
+1
-1
No files found.
controllers/plugin_event.py
View file @
2a12f841
...
...
@@ -6,7 +6,7 @@ import urllib
from
plugin_dbui
import
INLINE_ALERT
from
plugin_event
import
Graph
,
List
,
Metric2D
2
,
ReportException
from
plugin_event
import
Graph
,
List
,
Metric2D
,
ReportException
def
grid
():
...
...
@@ -49,7 +49,7 @@ def metric2d():
extension
=
request
.
extension
try
:
report
=
Metric2D
2
(
request
.
vars
.
id_metric2d
)
report
=
Metric2D
(
request
.
vars
.
id_metric2d
)
graph
=
Graph
(
report
)
title
=
report
.
get_title
()
...
...
modules/plugin_event/__init__.py
View file @
2a12f841
...
...
@@ -48,7 +48,7 @@ from report_objects import (do_title,
from
report_tools
import
(
Graph
,
List
,
Metric2D
2
)
Metric2D
)
from
selector
import
(
EvtSelector
,
SelectorActiveItems
,
...
...
modules/plugin_event/report_tools.py
View file @
2a12f841
...
...
@@ -468,7 +468,7 @@ class List(BaseReport):
raise
ReportException
(
T
(
MSG_NO_DATAINDEX
))
class
Metric2D
2
(
BaseReport
):
class
Metric2D
(
BaseReport
):
"""Generate the Metric2D and related configurations for ``Ext.grid.Panel``
and ``Ext.data.Store``.
...
...
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