Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-04-10 19:15:21 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-04-10 19:15:21 (GMT)
commite49b36c0f5549cb1747ea38282c9833aa551c75d (patch)
treeebb5b21923dea158602a32b0a18585f78a4a4835 /services
parent3e862d517c15d611b5736bc14b1c2ce2d12a7f2e (diff)
Cleanup new cache code
Diffstat (limited to 'services')
-rw-r--r--services/presence/buddyiconcache.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/services/presence/buddyiconcache.py b/services/presence/buddyiconcache.py
index 371b0f5..a7cee3b 100644
--- a/services/presence/buddyiconcache.py
+++ b/services/presence/buddyiconcache.py
@@ -29,12 +29,8 @@ class BuddyIconCache(object):
if not os.path.exists(self._cachepath):
os.makedirs(self._cachepath)
- self._cache = {}
- # md5 and server token of the last avatar uploaded
- self._md5 = ''
- self._token = ''
- else:
- self._load_cache()
+
+ self._load_cache()
def _load_cache(self):
try: