1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-12 08:23:29 +00:00

return error when import fails

This commit is contained in:
deadc0de6
2017-12-23 18:44:29 +01:00
parent 3b1e289c9b
commit 9a0a90fc17

View File

@@ -16,12 +16,14 @@ except:
errmsg = ''' errmsg = '''
Dotdrop has been updated to be included in pypi and Dotdrop has been updated to be included in pypi and
the way it needs to be called has changed. the way it needs to be called has changed.
First update dotdrop: First update dotdrop:
$ git submodule update --init --recursive $ git submodule update --init --recursive
And then re-run the bootstrap script: And then re-run the bootstrap script:
$ ./dotdrop/bootstrap.sh $ ./dotdrop/bootstrap.sh
''' '''
print(errmsg) print(errmsg)
sys.exit(1)
from .logger import Logger from .logger import Logger
from .templategen import Templategen from .templategen import Templategen
from .installer import Installer from .installer import Installer