(self, args)
| 434 | return args |
| 435 | |
| 436 | def do_update(self, args): |
| 437 | data = self._build_data(args) |
| 438 | |
| 439 | c, p = self._get_project(args) |
| 440 | p.update(args) |
| 441 | self._set_config(c) |
| 442 | |
| 443 | path = self._get_project_path(p) |
| 444 | project = Project() |
| 445 | project.open(path) |
| 446 | project._update(data) |
| 447 | project.save(path) |
| 448 | |
| 449 | logging.info('Update project: %s', p) |
| 450 | return p |
| 451 | |
| 452 | def do_list(self, args): |
| 453 | c = self._get_config() |
nothing calls this directly
no test coverage detected