Ticket #34 (accepted enhancement)
Die gracefully or print when database is not available
Reported by: | jerome | Owned by: | jerome |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | pykota | Version: | development |
Keywords: | Cc: |
Description (last modified by jerome) (diff)
When the cupspykota backend runs, we know that we need read+write access to the database. Introduce a printingwithnodb directive which allows either print or fail (and possibly ignore which is fail with an exit(0)), as values in pykota.conf. This directive will let PyKota know if it has to fail (as it does actually), or print anyway if the database isn't available.
Change History
Note: See
TracTickets for help on using
tickets.