Skip to content

Commit

Permalink
Fix .format() slot.
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Dec 26, 2012
1 parent 480bd31 commit e5ea582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_principal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def __contains__(self, other):
return other.issubset(self)

def __repr__(self):
return '<Permission needs={0} excludes={1}>'.format(
return '<{0} needs={1} excludes={2}>'.format(
self.__class__.__name__, self.needs, self.excludes
)

Expand Down

0 comments on commit e5ea582

Please sign in to comment.