repoview: remove special casing of "requirements"

At the time this code was introduced (7d207cb7e38a), the inline comment
was true. This changed in 2f304c7e2233. The proxy is no longer needed.
This commit is contained in:
Gregory Szorc 2017-06-08 20:28:13 -07:00
parent 8cfc531081
commit 1e94780ad6

View File

@ -243,10 +243,3 @@ class repoview(object):
def __delattr__(self, attr):
return delattr(self._unfilteredrepo, attr)
# The `requirements` attribute is initialized during __init__. But
# __getattr__ won't be called as it also exists on the class. We need
# explicit forwarding to main repo here
@property
def requirements(self):
return self._unfilteredrepo.requirements