Skip to content

Commit

Permalink
Style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bitprophet committed May 29, 2012
1 parent 3c5ebb9 commit ffa243f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexicon/alias_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def unalias(self, from_):

def _handle(self, key, value, single, multi, unaliased):
# Attribute existence test required to not blow up when deepcopy'd
if hasattr(self, 'aliases') and key in self.aliases:
if key in getattr(self, 'aliases', {}):
target = self.aliases[key]
# Single-string targets
if isinstance(target, basestring):
Expand Down

0 comments on commit ffa243f

Please sign in to comment.