[Bf-blender-cvs] [a2301ec2605] soc-2017-package_manager: Remove unused message, make sure all errors inherit from SubprocError

gandalf3 noreply at git.blender.org
Tue Aug 29 11:46:22 CEST 2017


Commit: a2301ec26057f2c0018b55cac33a56cfba3d18ed
Author: gandalf3
Date:   Tue Aug 29 00:23:28 2017 -0700
Branches: soc-2017-package_manager
https://developer.blender.org/rBa2301ec26057f2c0018b55cac33a56cfba3d18ed

Remove unused message, make sure all errors inherit from SubprocError

===================================================================

M	release/scripts/modules/bpkg/messages.py

===================================================================

diff --git a/release/scripts/modules/bpkg/messages.py b/release/scripts/modules/bpkg/messages.py
index ce754d49811..cb9d9ebe8d8 100644
--- a/release/scripts/modules/bpkg/messages.py
+++ b/release/scripts/modules/bpkg/messages.py
@@ -39,14 +39,6 @@ class RepositoryResult(SubprocMessage):
 class Aborted(SubprocMessage):
     """Sent as response to Abort message."""
 
-# subproc warnings
-
-class SubprocWarning(SubprocMessage):
-    """Superclass for all non-fatal warning messages sent from the subprocess."""
-
-    def __init__(self, message: str):
-        self.message = message
-
 # subproc errors
 
 class SubprocError(SubprocMessage):
@@ -64,7 +56,7 @@ class UninstallError(SubprocError):
 class BadRepositoryError(SubprocError):
     """Sent when a repository can't be used for some reason"""
 
-class DownloadError(SubprocMessage):
+class DownloadError(SubprocError):
     """Sent when there was an error downloading something."""
 
     def __init__(self, message: str, status_code: int = None):



More information about the Bf-blender-cvs mailing list