1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Stopped setting BaseExpression.copied on copy().

Unused since its introduction in f59fd15c49.
This commit is contained in:
Simon Charette 2017-07-13 02:51:24 -04:00
parent 160969d970
commit 76236f0db2

View File

@ -292,9 +292,7 @@ class BaseExpression:
return clone
def copy(self):
c = copy.copy(self)
c.copied = True
return c
return copy.copy(self)
def get_group_by_cols(self):
if not self.contains_aggregate: