Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

No need to use MergedConstants on one container.

  • Loading branch information
wsanchez committed Feb 14, 2013
1 parent 38054f7 commit 705c76e02cc61749a74426eb8be2dc85b2a9abcd
Showing with 3 additions and 3 deletions.
  1. +3 −3 twext/who/directory.py
@@ -36,7 +36,7 @@
from twext.who.idirectory import Operand
from twext.who.idirectory import DirectoryQueryMatchExpression
from twext.who.idirectory import IDirectoryService, IDirectoryRecord
from twext.who.util import MergedConstants, uniqueResult
from twext.who.util import uniqueResult



@@ -47,8 +47,8 @@ class DirectoryService(FancyEqMixin, object):
"realmName",
)

recordType = MergedConstants(RecordType)
fieldName = MergedConstants(FieldName)
recordType = RecordType
fieldName = FieldName

fieldNormalizer = {
FieldName.guid: lambda g: UUID(g).hex,

0 comments on commit 705c76e

Please sign in to comment.
You can’t perform that action at this time.