/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

Show diffs side-by-side

added added

removed removed

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