update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwlaunchpad / plugins / rwstagingmgr / rift / tasklets / rwstagingmgr / model / staging_area.py
index 473999f..f54cfd8 100644 (file)
@@ -33,7 +33,7 @@ class StagingArea(object):
     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):
@@ -43,6 +43,10 @@ class StagingArea(object):
     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()