Mercurial > getan
comparison getan.py @ 69:f0e4637ad4e4
Add a update_entry method in getan controller that stores a changed entry in the backened
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 25 May 2011 13:27:42 +0200 |
parents | 34a0f5c533bd |
children | 04dbf4c9f297 |
comparison
equal
deleted
inserted
replaced
68:a25dab413260 | 69:f0e4637ad4e4 |
---|---|
149 if not key or not description: | 149 if not key or not description: |
150 return | 150 return |
151 self.backend.insert_project(key, description) | 151 self.backend.insert_project(key, description) |
152 self.update_project_list() | 152 self.update_project_list() |
153 | 153 |
154 def update_entry(self, entry): | |
155 self.backend.update_entry(entry) | |
156 | |
154 def shutdown(self): | 157 def shutdown(self): |
155 for project in self.running: | 158 for project in self.running: |
156 self.stop_project() | 159 self.stop_project() |
157 | 160 |
158 | 161 |