diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-10-23 14:44:01 +0200 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-10-23 14:44:01 +0200 |
| commit | fb32efb74e2dc1077586a2214de558db6940b70b (patch) | |
| tree | d42a2e0744c5884b808e187eabf348a3f136afff /miasm2/core/utils.py | |
| parent | bcd4822ab014156c4977667b165072ba396d1f17 (diff) | |
| parent | 663a287f588719b0bc58c4d2a1f7e69f17ee986c (diff) | |
| download | miasm-fb32efb74e2dc1077586a2214de558db6940b70b.tar.gz miasm-fb32efb74e2dc1077586a2214de558db6940b70b.zip | |
Merge pull request #238 from commial/feature_cloop
Feature cloop
Diffstat (limited to 'miasm2/core/utils.py')
| -rw-r--r-- | miasm2/core/utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/miasm2/core/utils.py b/miasm2/core/utils.py index 75eb3113..30aff7d2 100644 --- a/miasm2/core/utils.py +++ b/miasm2/core/utils.py @@ -119,6 +119,11 @@ class BoundedDict(UserDict.DictMixin): "Return the list of dict's keys" return self._data.keys() + @property + def data(self): + "Return the current instance as a dictionnary" + return self._data + def __getitem__(self, key): # Retrieve data first to raise the proper exception on error data = self._data[key] |