Example #1
0
 def create_project(self, name, description, owner="", rw_locations=[], ro_locations=[]) :
     """
     create an empty project
     """
     this_project = Project()
     this_project.name = name
     this_project.description = description
     this_project.owner = owner
     this_project.rw_locations = rw_locations
     this_project.ro_locations = ro_locations
     # store_project adds db_id
     return self.store_project(this_project)