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
71c3d660
Commit
71c3d660
authored
Aug 16, 2012
by
Clément Schreiner
Browse files
New method: ``as_dict``. Returns the _data dictionary.
parent
456ab9e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/model/plugin_results.py
View file @
71c3d660
...
...
@@ -101,6 +101,9 @@ class PluginResult(meta.Base):
def
__delitem__
(
self
,
key
):
del
self
.
_data
[
key
]
def
as_dict
(
self
):
return
self
.
_data
#
# Direct access to some attributes
#
...
...
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