projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
rwstagingmgr
/
rift
/
tasklets
/
rwstagingmgr
/
model
/
staging_area.py
diff --git
a/rwlaunchpad/plugins/rwstagingmgr/rift/tasklets/rwstagingmgr/model/staging_area.py
b/rwlaunchpad/plugins/rwstagingmgr/rift/tasklets/rwstagingmgr/model/staging_area.py
index
473999f
..
f54cfd8
100644
(file)
--- a/
rwlaunchpad/plugins/rwstagingmgr/rift/tasklets/rwstagingmgr/model/staging_area.py
+++ b/
rwlaunchpad/plugins/rwstagingmgr/rift/tasklets/rwstagingmgr/model/staging_area.py
@@
-33,7
+33,7
@@
class StagingArea(object):
def __init__(self, model=None):
self._model = model
if not self._model:
def __init__(self, model=None):
self._model = model
if not self._model:
- self._model = RwStagingMgmtYang.StagingArea.from_dict({})
+ self._model = RwStagingMgmtYang.
YangData_RwProject_Project_StagingAreas_
StagingArea.from_dict({})
@property
def area_id(self):
@property
def area_id(self):
@@
-43,6
+43,10
@@
class StagingArea(object):
def model(self):
return self._model
def model(self):
return self._model
+ @property
+ def project_name(self):
+ return self._model.project_name
+
@property
def has_expired(self):
current_time = time.time()
@property
def has_expired(self):
current_time = time.time()