From 088ca5fee4cc99f9143f18a880cdec6712326e1e Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 12 Feb 2013 09:47:04 -0500 Subject: fixed unit tests --- src/lib/Bcfg2/Server/Plugin/interfaces.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugin/interfaces.py') diff --git a/src/lib/Bcfg2/Server/Plugin/interfaces.py b/src/lib/Bcfg2/Server/Plugin/interfaces.py index c1dbb1578..3ef29775d 100644 --- a/src/lib/Bcfg2/Server/Plugin/interfaces.py +++ b/src/lib/Bcfg2/Server/Plugin/interfaces.py @@ -531,7 +531,7 @@ class Version(Plugin): #: be ".svn" __vcs_metadata_path__ = None - __rmi__ = Bcfg2.Server.Plugin.Version.__rmi__ + ['get_revision'] + __rmi__ = Plugin.__rmi__ + ['get_revision'] def __init__(self, core, datastore): Plugin.__init__(self, core, datastore) @@ -602,7 +602,7 @@ class ClientACLs(object): """ ClientACLs are used to grant or deny access to different XML-RPC calls based on client IP or metadata. """ - def check_acl_ip(self, address, rmi): + def check_acl_ip(self, address, rmi): # pylint: disable=W0613 """ Check if the given IP address is authorized to make the named XML-RPC call. @@ -615,7 +615,7 @@ class ClientACLs(object): """ return True - def check_acl_metadata(self, metadata, rmi): + def check_acl_metadata(self, metadata, rmi): # pylint: disable=W0613 """ Check if the given client is authorized to make the named XML-RPC call. -- cgit v1.2.3-1-g7c22