Move package management code out of subproc.py

This commit is contained in:
Ellwood Zwovic
2017-07-21 00:27:16 -07:00
parent a250777d15
commit e9fbb9f6e7
7 changed files with 398 additions and 376 deletions

View File

@@ -0,0 +1,11 @@
class BpkgException(Exception):
"""Superclass for all package manager exceptions"""
class InstallException(BpkgException):
"""Raised when there is an error during installation"""
class DownloadException(BpkgException):
"""Raised when there is an error downloading something"""
class BadRepository(BpkgException):
"""Raised when reading a repository results in an error"""