/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/lru_cache.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-06 11:48:54 UTC
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@jelmer.uk-20180506114854-h4qd9ojaqy8wxjsd
Move .mailmap to root.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
_null_key = object()
31
31
 
32
 
 
33
32
class _LRUNode(object):
34
33
    """This maintains the linked-list which is the lru internals."""
35
34
 
233
232
    defaults to len() if not supplied.
234
233
    """
235
234
 
236
 
    def __init__(self, max_size=1024 * 1024, after_cleanup_size=None,
 
235
    def __init__(self, max_size=1024*1024, after_cleanup_size=None,
237
236
                 compute_size=None):
238
237
        """Create a new LRUSizeCache.
239
238