Ticket #67 (closed defect: fixed)
multiple problems with ControllerCommand
| Reported by: | chuck | Owned by: | pjenvey |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9.2 |
| Component: | controllers | Version: | |
| Severity: | minor | Keywords: | |
| Cc: |
Description
the ControllerCommand? class used for the paster script has a number of problems:
- The --verbose parameter does not work since it hardwires a verbosity level of 3
- The --simulate parameter does not work since it is never passed to the file operation objects
- Controllers that conflict with an existing module are permitted
The last one is not really the fault of the ControllerCommand? class but more of a python issue; there are some tricks to get around it but I'm not familiar with them. Still, when such a controller is created, it breaks all the other controllers, which is not really A Good Thing, so the command should try to prevent this imminent breakage.
I have posted a modified version of this class on Users/Chuck/CodePad. Sorry for not making it a patch, but there's so many changes that a patch probably wouldn't be very clear anyway.
Change History
Note: See
TracTickets for help on using
tickets.