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:
committed by
Markus Holtermann
parent
ddf4af885f
commit
34c56687ae
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user