comparison tests/test-mq-qrefresh.t @ 29373:36fbd72c2f39

scmutil: allow access to filecache descriptor on class To make it easier to patch the wrapped function, make it possible to access the filecache descriptor directly on the class (rather than have to use ClassObject.__dict__['attributename']). Returning `self` when the first argument to `__get__` is `None` makes the descriptor behave the same way `property` objects do.
author Martijn Pieters <mjpieters@fb.com>
date Fri, 17 Jun 2016 20:06:09 +0100
parents bbf544b5f2e9
children 95c4cca641f6
comparison
equal deleted inserted replaced
29372:0b5e9a625042 29373:36fbd72c2f39