Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
456ab9e9
Commit
456ab9e9
authored
Aug 16, 2012
by
Clément Schreiner
Browse files
Add debug information.
parent
de26595a
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/plugins/api.py
View file @
456ab9e9
...
...
@@ -185,8 +185,9 @@ class BasePlugin(object):
def
save
(
self
):
""" Save DB changes """
self
.
session
.
commit
()
log
.
debug
(
'Added results to the database
'
)
log
.
debug
(
'Added results to the database
for {}'
.
format
(
self
.
name
)
)
def
new_result
(
self
,
result_cls
,
**
data
):
"""
...
...
@@ -294,8 +295,8 @@ class QAPlugin(BasePlugin):
"""
if
self
.
test_result
is
None
:
log
.
debug
(
'The
plugin data has not been loaded,
'
'
or this plugin does not define a test
'
)
log
.
debug
(
"'%s'
plugin
's
data has not been loaded,
"
"
or this plugin does not define a test
"
%
self
.
name
)
return
None
# FIXME: ugly
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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