seitime-frappe/frappe/commands
tundebabzy be7be766be Issue 3171 (#3178)
* adds new exception to be raised when any improper database configuration is detected

* changes behavior of `check_if_ready_for_barracuda` to raise ImproperDBConfigurationError instead of sys.exit`

* refactors `drop_site` to use a new exactly identical `_drop_site` function.

The reason for this is because the original `drop_site` function is decorated
and cannot be undecorated without nasty hacks. Breaking the function this way
allows me to make use of the `drop-site` logic easily.

* catches the ImproperDBConfigurationError raised from `check_if_ready_for_barracuda` function to drop all the artifacts of the failed new `Site`
2017-05-08 16:06:33 +05:30
..
__init__.py Python 3 compatible print statements (#3199) 2017-05-01 12:34:29 +05:30
docs.py [docs] and other minor fixes 2016-09-15 13:55:37 +05:30
scheduler.py Python 3 compatible print statements (#3199) 2017-05-01 12:34:29 +05:30
site.py Issue 3171 (#3178) 2017-05-08 16:06:33 +05:30
translate.py Python 3 compatible print statements (#3199) 2017-05-01 12:34:29 +05:30
utils.py Python 3 compatible print statements (#3199) 2017-05-01 12:34:29 +05:30