projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hook up Unit.run() to api
[osm/N2VC.git]
/
juju
/
model.py
diff --git
a/juju/model.py
b/juju/model.py
index
2ef903b
..
dce4697
100644
(file)
--- a/
juju/model.py
+++ b/
juju/model.py
@@
-16,6
+16,9
@@
class ModelEntity(object):
self.data = data
self.model = model
+ def __getattr__(self, name):
+ return self.data[name]
+
class Model(object):
def __init__(self, connection):