Merge "noauth: simplify class reference"

This commit is contained in:
Jenkins
2015-10-08 15:41:47 +00:00
committed by Gerrit Code Review

View File

@@ -62,9 +62,7 @@ class GnocchiOpt(loading.Opt):
class GnocchiNoAuthLoader(loading.BaseLoader):
@property
def plugin_class(self):
return GnocchiNoAuthPlugin
plugin_class = GnocchiNoAuthPlugin
def get_options(self):
options = super(GnocchiNoAuthLoader, self).get_options()