You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/10/07 23:13:39 UTC

[4/8] git commit: [#7221] Fix undefined variable error

[#7221] Fix undefined variable error


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/a0303fea
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/a0303fea
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/a0303fea

Branch: refs/heads/db/7732
Commit: a0303fea4fc941a612df893baf29bebd6e9e426c
Parents: 3ebb5fc
Author: Igor Bondarenko <je...@gmail.com>
Authored: Mon Oct 6 09:59:12 2014 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Mon Oct 6 09:59:12 2014 +0000

----------------------------------------------------------------------
 Allura/allura/lib/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/a0303fea/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index f12529e..e15e4c0 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -1269,7 +1269,7 @@ class LdapUserPreferencesProvider(UserPreferencesProvider):
         else:
             con.unbind_s()
         if not rs:
-            log.warning('LdapUserPref: No user record found for: {}'.format(user.username))
+            log.warning('LdapUserPref: No user record found for: {}'.format(username))
             return ''
         user_dn, user_attrs = rs[0]
         ldap_attr = self.fields[pref_name]