~rlane/nova/lp773690

« back to all changes in this revision

Viewing changes to nova/fakememcache.py

  • Committer: rlane at wikimedia
  • Date: 2011-04-29 22:30:40 UTC
  • mfrom: (382.1.655 nova)
  • Revision ID: rlane@wikimedia.org-20110429223040-i0x3ds9eqwrabyru
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
"""Super simple fake memcache client."""
20
20
 
21
 
import utils
 
21
from nova import utils
22
22
 
23
23
 
24
24
class Client(object):
25
25
    """Replicates a tiny subset of memcached client interface."""
26
26
 
27
27
    def __init__(self, *args, **kwargs):
28
 
        """Ignores the passed in args"""
 
28
        """Ignores the passed in args."""
29
29
        self.cache = {}
30
30
 
31
31
    def get(self, key):