Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
5fd8ca1f
Commit
5fd8ca1f
authored
Jan 20, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug plugin
parent
303a970b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dream/plugins/Debug.py
dream/plugins/Debug.py
+2
-2
No files found.
dream/plugins/Debug.py
View file @
5fd8ca1f
from
dream.plugins
import
plugin
from
dream.plugins
import
plugin
from
pprint
import
pformat
from
pprint
import
pformat
class
Debug
(
plugin
.
InputPreparationPlugin
):
class
Debug
(
plugin
.
InputPreparationPlugin
,
plugin
.
OutputPreparationPlugin
):
def
preprocess
(
self
,
data
):
def
preprocess
(
self
,
data
):
"""Preprocess the data.
"""Preprocess the data.
"""
"""
self
.
logger
.
info
(
"%s: %s
"
%
(
self
.
name
,
pformat
(
data
)))
self
.
logger
.
info
(
"%s: %s
"
%
(
self
.
configuration_dict
,
pformat
(
data
)))
return
data
return
data
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