summaryrefslogtreecommitdiff
path: root/src/data_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-04-05 23:57:53 +0200
committermathieui <mathieui@mathieui.net>2013-04-05 23:57:53 +0200
commit91b960b797bbf17f6c4b33279f2d406c5a2c93b2 (patch)
tree91cbb61f2618d448416f4a41043ef2327793a53b /src/data_forms.py
parent16268ba96460c0947be7208cba60ad95270a4da7 (diff)
downloadpoezio-91b960b797bbf17f6c4b33279f2d406c5a2c93b2.tar.gz
poezio-91b960b797bbf17f6c4b33279f2d406c5a2c93b2.tar.bz2
poezio-91b960b797bbf17f6c4b33279f2d406c5a2c93b2.tar.xz
poezio-91b960b797bbf17f6c4b33279f2d406c5a2c93b2.zip
Handle I/O errors better
- Do not crash because of low disk space - Notify the user whenever it happens - A few functions now return a boolean instead of nothing - Config.silent_set is Config.set_and_save without toggle and returning strings. It is used whenever we don’t need set_and_save - Config.set_and_save now returns a tuple (that can be passed directly to core.information()) TODO: display the precise error to the user (instead of “unable to…”)
Diffstat (limited to 'src/data_forms.py')
0 files changed, 0 insertions, 0 deletions