diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-06-23 03:23:37 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-15 12:28:52 +0200 |
commit | b5e9f7b0f5f8b7e37c9e67b0eda0589ce263c200 (patch) | |
tree | c96583bedf0c6cde937350d0ed96e2ddd05adc8a /src/nbblib/bs.py | |
parent | 82b24514cfe6232e278ba5783171dd3a39b8e66d (diff) | |
download | nbb-b5e9f7b0f5f8b7e37c9e67b0eda0589ce263c200.tar.gz nbb-b5e9f7b0f5f8b7e37c9e67b0eda0589ce263c200.tar.xz nbb-b5e9f7b0f5f8b7e37c9e67b0eda0589ce263c200.zip |
Got rid of all strings used as exceptions
Diffstat (limited to 'src/nbblib/bs.py')
-rw-r--r-- | src/nbblib/bs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nbblib/bs.py b/src/nbblib/bs.py index cb498cb..c7a33be 100644 --- a/src/nbblib/bs.py +++ b/src/nbblib/bs.py @@ -43,7 +43,7 @@ class BSSourceTree(object): def detect(cls, vcs_tree, context): """Find BS tree type and return it""" if len(BSSourceTree.plugins) < 1: - raise "No BS source tree classes registered" + raise NoPluginsRegistered(cls) matches = PluginDict() for key, klass in BSSourceTree.plugins.items(): try: |