浏览代码

[useradmin] Missing parenthesis

abec 13 年之前
父节点
当前提交
0338318929
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/useradmin/src/useradmin/views.py

+ 1 - 1
apps/useradmin/src/useradmin/views.py

@@ -319,7 +319,7 @@ def add_ldap_group(request):
         group = import_ldap_group(groupname, import_members, import_by_dn)
       except LDAPError, e:
         LOG.error("LDAP Exception: %s" % e)
-        raise PopupException(_('There was an error when communicating with LDAP', detail=str(e))
+        raise PopupException(_('There was an error when communicating with LDAP'), detail=str(e))
 
       if group is None:
         errors = form._errors.setdefault('name', ErrorList())