1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundError

This commit is contained in:
Jarek Glowacki
2016-03-10 14:09:44 +11:00
committed by Markus Holtermann
parent ddf4af885f
commit 34c56687ae
2 changed files with 13 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ class NodeNotFoundError(LookupError):
return self.message
def __repr__(self):
return "NodeNotFoundError(%r)" % self.node
return "NodeNotFoundError(%r)" % (self.node, )
class MigrationSchemaMissing(DatabaseError):