summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-03 18:08:39 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-03 18:08:39 -0700
commit912ab9e68b6030d4d115d3683893477abb4f6451 (patch)
tree15086209935f58c84d31561f0372476911a9eedb /ipalib
parentbb6e9cfe9ff25f3a018b23785f71302911eab435 (diff)
downloadfreeipa-912ab9e68b6030d4d115d3683893477abb4f6451.tar.gz
freeipa-912ab9e68b6030d4d115d3683893477abb4f6451.tar.xz
freeipa-912ab9e68b6030d4d115d3683893477abb4f6451.zip
Removed unneeded import of errors from plugable.py
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugable.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index f7baa2a1f..d4ec8749b 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -33,7 +33,6 @@ import logging
import os
from os import path
import subprocess
-import errors
import errors2
from config import Env
import util
@@ -283,7 +282,7 @@ class Plugin(ReadOnly):
Call ``executable`` with ``args`` using subprocess.call().
If the call exits with a non-zero exit status,
- `ipalib.errors.SubprocessError` is raised, from which you can retrieve
+ `ipalib.errors2.SubprocessError` is raised, from which you can retrieve
the exit code by checking the SubprocessError.returncode attribute.
This method does *not* return what ``executable`` sent to stdout... for
@@ -450,10 +449,10 @@ class Registrar(DictProxy):
"""
Iterates through allowed bases that ``klass`` is a subclass of.
- Raises `errors.SubclassError` if ``klass`` is not a subclass of any
- allowed base.
+ Raises `errors2.PluginSubclassError` if ``klass`` is not a subclass of
+ any allowed base.
- :param klass: The class to find bases for.
+ :param klass: The plugin class to find bases for.
"""
assert inspect.isclass(klass)
found = False