diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 418: Fix django-debian weirdness in accessing non-existent attrs.

Message ID 20130806162035.27923.9848.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Paul Sokolovsky Aug. 6, 2013, 4:20 p.m. UTC
------------------------------------------------------------
revno: 418
committer: Paul Sokolovsky <paul.sokolovsky@linaro.org>
branch nick: lava-server
timestamp: Tue 2013-08-06 19:18:48 +0300
message:
  Fix django-debian weirdness in accessing non-existent attrs.
modified:
  lava_server/settings/debian.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/settings/debian.py'
--- lava_server/settings/debian.py	2013-08-06 15:59:24 +0000
+++ lava_server/settings/debian.py	2013-08-06 16:18:48 +0000
@@ -103,7 +103,7 @@ 
     AUTH_CROWD_APPLICATION_USER = crowd_config.AUTH_CROWD_APPLICATION_USER
     AUTH_CROWD_APPLICATION_PASSWORD = crowd_config.AUTH_CROWD_APPLICATION_PASSWORD
     if debian_settings.get_setting("AUTH_CROWD_GROUP_MAP"):
-        AUTH_CROWD_GROUP_MAP = debian_settings.AUTH_CROWD_GROUP_MAP
+        AUTH_CROWD_GROUP_MAP = debian_settings.get_setting("AUTH_CROWD_GROUP_MAP")
 
 # Load extensions
 loader.contribute_to_settings(locals(), debian_settings)