Changeset 1741:0a9be69f9436
- Timestamp:
- Dec 28, 2018, 10:08:13 PM (2 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ftputil/lrucache.py
r1736 r1741 121 121 # Python versions. Uses only around 60 % of the time 122 122 # with respect to `__cmp__`. 123 # pylint: disable=protected-access 123 124 return self._sort_key < other._sort_key 124 125 … … 189 190 node.atime = time.time() 190 191 node.mtime = node.atime 192 # pylint: disable=protected-access 191 193 node._sort_key = self._sort_key() 192 194 else: … … 215 217 # Update node object in-place. 216 218 node.atime = time.time() 219 # pylint: disable=protected-access 217 220 node._sort_key = self._sort_key() 218 221 return node.obj
Note: See TracChangeset
for help on using the changeset viewer.