diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-07-16 00:23:33 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-07-16 00:23:33 +0000 |
commit | 25bb2fc4a40eafcb6f04e51c3152702ca7ff8987 (patch) | |
tree | 53ecb7349e8c5516c6b8dcff67f338f52fdbde33 /src/sbin | |
parent | b3a54247953c5affcbbf7807a682da903e0cd38b (diff) | |
download | bcfg2-25bb2fc4a40eafcb6f04e51c3152702ca7ff8987.tar.gz bcfg2-25bb2fc4a40eafcb6f04e51c3152702ca7ff8987.tar.bz2 bcfg2-25bb2fc4a40eafcb6f04e51c3152702ca7ff8987.zip |
Completely fix import path for Component
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3452 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-server | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-server b/src/sbin/bcfg2-server index 0638070af..b5e60328f 100755 --- a/src/sbin/bcfg2-server +++ b/src/sbin/bcfg2-server @@ -63,7 +63,7 @@ class SetupError(Exception): '''Used when the server cant be setup''' pass -class Bcfg2Serv(Bcfg2.Server.Component.Component): +class Bcfg2Serv(Bcfg2.Component.Component): """The Bcfg2 Server component providing XML-RPC access to Bcfg methods""" __name__ = 'bcfg2' __implementation__ = 'bcfg2' @@ -72,9 +72,9 @@ class Bcfg2Serv(Bcfg2.Server.Component.Component): def __init__(self, setup): try: - Bcfg2.Server.Component.Component.__init__(self, setup) + Bcfg2.Component.Component.__init__(self, setup) self.shut = False - except Bcfg2.Server.Component.ComponentInitError: + except Bcfg2.Component.ComponentInitError: raise SetupError # set shutdown handlers for sigint and sigterm |