Commit bc531604 authored by Christopher Petrilli's avatar Christopher Petrilli

Fixed spurious exception.

parent ccfaef0b
...@@ -115,7 +115,7 @@ class UnKeywordIndex(UnIndex): ...@@ -115,7 +115,7 @@ class UnKeywordIndex(UnIndex):
newKeywords = getattr(obj, self.id) newKeywords = getattr(obj, self.id)
if callable(newKeywords): if callable(newKeywords):
newKeywords = newKeywords() newKeywords = newKeywords()
except Except: except AttributeError:
newKeywords = MV newKeywords = MV
if type(newKeywords) is StringType: if type(newKeywords) is StringType:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment