projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7f789
)
use pluginapi.get_config
author
Rodney Ewing
<ewing.rj@gmail.com>
Tue, 9 Jul 2013 18:48:36 +0000
(11:48 -0700)
committer
Rodney Ewing
<ewing.rj@gmail.com>
Thu, 15 Aug 2013 23:01:03 +0000
(16:01 -0700)
mediagoblin/plugins/ldap/tools.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/plugins/ldap/tools.py
b/mediagoblin/plugins/ldap/tools.py
index 3f15c07a9678a679ac216938d82b64588e1ee341..35a681ec3b2ca8e177c1b680a213c48c296e59c9 100644
(file)
--- a/
mediagoblin/plugins/ldap/tools.py
+++ b/
mediagoblin/plugins/ldap/tools.py
@@
-16,14
+16,14
@@
import ldap
import logging
-from mediagoblin
import mg_globals
+from mediagoblin
.tools import pluginapi
_log = logging.getLogger(__name__)
class LDAP(object):
def __init__(self):
- self.ldap_settings =
mg_globals.global_config['plugins']['mediagoblin.plugins.ldap']
+ self.ldap_settings =
pluginapi.get_config('mediagoblin.plugins.ldap')
def _connect(self, server):
_log.info('Connecting to {0}.'.format(server['LDAP_SERVER_URI']))