summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorJarek Glowacki <jarekwg@gmail.com>2016-03-10 14:09:44 +1100
committerMarkus Holtermann <info@markusholtermann.eu>2016-03-10 17:27:35 +1100
commit34c56687ae4df2cff632447eddd7ef255ee74726 (patch)
tree98f34de20a0e90ce6e44fc34e92fe1ee8495bd23 /django
parentddf4af885fa3bc69e45781c10afa9e5ed3d90abc (diff)
Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundError
Diffstat (limited to 'django')
-rw-r--r--django/db/migrations/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/migrations/exceptions.py b/django/db/migrations/exceptions.py
index 1e8549a504..dd3f1be2a6 100644
--- a/django/db/migrations/exceptions.py
+++ b/django/db/migrations/exceptions.py
@@ -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):