aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter.py
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-11-05 12:10:25 +0000
committerTim-Philipp Müller <tim@centricular.com>2016-11-05 12:10:25 +0000
commit5898fb094c9ad3b4d17c16fd151521c0bb52652f (patch)
tree362d2bf5e87486a9f839193ee25de4da8736a964 /mesonbuild/interpreter.py
parent314eb5110e14a71939f1535f4271461d9c439b50 (diff)
downloadmeson-5898fb094c9ad3b4d17c16fd151521c0bb52652f.zip
meson-5898fb094c9ad3b4d17c16fd151521c0bb52652f.tar.gz
meson-5898fb094c9ad3b4d17c16fd151521c0bb52652f.tar.bz2
Revert "interpreter: Add a way to copy and environment object"
This reverts commit fcaf319e49aaaf548a814977c4c5e864fa5a4f77. This should be done automatically on assignment, see #831
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r--mesonbuild/interpreter.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py
index 3044d51..8c6e2cd 100644
--- a/mesonbuild/interpreter.py
+++ b/mesonbuild/interpreter.py
@@ -27,7 +27,6 @@ import os, sys, subprocess, shutil, uuid, re
from functools import wraps
import importlib
-import copy
run_depr_printed = False
@@ -189,7 +188,6 @@ class EnvironmentVariablesHolder(InterpreterObject):
self.methods.update({'set': self.set_method,
'append': self.append_method,
'prepend' : self.prepend_method,
- 'copy' : self.copy_method,
})
@stringArgs
@@ -212,9 +210,6 @@ class EnvironmentVariablesHolder(InterpreterObject):
def prepend_method(self, args, kwargs):
self.add_var(self.held_object.prepend, args, kwargs)
- def copy_method(self, args, kwargs):
- return copy.deepcopy(self)
-
class ConfigurationDataHolder(InterpreterObject):
def __init__(self):