Revert "interpreter: Add a way to copy and environment object"

This reverts commit fcaf319e49.

This should be done automatically on assignment, see #831
pull/997/head
Tim-Philipp Müller 8 years ago
parent 314eb5110e
commit 5898fb094c
  1. 5
      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):

Loading…
Cancel
Save