diff options
author | Simo Sorce <simo@redhat.com> | 2014-10-20 16:08:06 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-11-12 23:46:57 +0100 |
commit | 62b4656571be6e8671ada295047eac385d330f66 (patch) | |
tree | 3516bb0f3e4c10b250cabdc9f0990b01ac45b286 /ipsilon/providers/openidp.py | |
parent | 5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 (diff) | |
download | ipsilon-62b4656571be6e8671ada295047eac385d330f66.tar.gz ipsilon-62b4656571be6e8671ada295047eac385d330f66.tar.xz ipsilon-62b4656571be6e8671ada295047eac385d330f66.zip |
In configure we do not need to set_config()
All we care about in configure is to store the config in the db,
so skip setting the config explicitly in the plugin object and go
straight to the database.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/providers/openidp.py')
-rwxr-xr-x | ipsilon/providers/openidp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipsilon/providers/openidp.py b/ipsilon/providers/openidp.py index a3e1b63..5abdcad 100755 --- a/ipsilon/providers/openidp.py +++ b/ipsilon/providers/openidp.py @@ -148,5 +148,4 @@ class Installer(object): config = {'endpoint url': url, 'identity_url_template': '%sid/%%(username)s' % url, 'enabled': '1'} - po.set_config(config) - po.save_plugin_config(FACILITY) + po.save_plugin_config(FACILITY, config) |