diff --git a/django/utils/_threading_local.py b/django/utils/_threading_local.py index 488de65900..9225d01e63 100644 --- a/django/utils/_threading_local.py +++ b/django/utils/_threading_local.py @@ -146,7 +146,7 @@ class _localbase(object): object.__setattr__(self, '_local__lock', RLock()) if (args or kw) and (cls.__init__ is object.__init__): - raise TypeError("Initialization arguments are not supported) + raise TypeError("Initialization arguments are not supported") # We need to create the thread dict in anticipation of # __init__ being called, to make sure we don't call it