Show More
@@ -6,7 +6,6 | |||||
6 | # This software may be used and distributed according to the terms of the |
|
6 | # This software may be used and distributed according to the terms of the | |
7 | # GNU General Public License version 2 or any later version. |
|
7 | # GNU General Public License version 2 or any later version. | |
8 |
|
8 | |||
9 | import types |
|
|||
10 | import copy |
|
9 | import copy | |
11 | import error |
|
10 | import error | |
12 | import phases |
|
11 | import phases | |
@@ -311,10 +310,6 class repoview(object): | |||||
311 | return getattr(self._unfilteredrepo, attr) |
|
310 | return getattr(self._unfilteredrepo, attr) | |
312 |
|
311 | |||
313 | def __setattr__(self, attr, value): |
|
312 | def __setattr__(self, attr, value): | |
314 | # Allow method replacement on filtered repos, like status() in |
|
|||
315 | # largefiles' purge override |
|
|||
316 | if type(value) == types.FunctionType: |
|
|||
317 | object.__setattr__(self, attr, value) |
|
|||
318 | return setattr(self._unfilteredrepo, attr, value) |
|
313 | return setattr(self._unfilteredrepo, attr, value) | |
319 |
|
314 | |||
320 | def __delattr__(self, attr): |
|
315 | def __delattr__(self, attr): |
General Comments 0
You need to be logged in to leave comments.
Login now