Rename "blenderpack" module to "bpackage"

Also split code into files by class
This commit is contained in:
gandalf3
2017-07-06 22:58:17 -07:00
parent bc6f5bcdd4
commit bbc1c8b3bf
6 changed files with 62 additions and 62 deletions

14
bpackage/exceptions.py Normal file
View File

@@ -0,0 +1,14 @@
class BadAddon(Exception):
"""
Raised when something expected to be an addon turns out not to be one after all
"""
class RepositoryListError(ValueError):
"""
Raised when something is amiss with the repo.json file
"""
class RepositoryNotFoundError(RepositoryListError):
"""
Raised when looking for a repository which isn't there
"""