Changeset bbc8f73


Ignore:
Timestamp:
Nov 5, 2012, 4:12:02 AM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
ca9e802
Parents:
0a31846
git-author:
Alex Dehnert <adehnert@…> (11/05/12 04:12:02)
git-committer:
Alex Dehnert <adehnert@…> (11/05/12 04:12:02)
Message:

Lazily kinit in groups/diffs.py (ASA-#149)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/util/mailinglist.py

    rb42118c rbbc8f73  
    1919    def __init__(self, *args, **kwargs):
    2020        super(MoiraList, self).__init__(*args, **kwargs)
    21         self.ccache = mit.kinit()
     21        self._ccache = None
     22
     23    @property
     24    def ccache(self, ):
     25        if not self._ccache:
     26            self._ccache = mit.kinit()
     27        return self._ccache
    2228
    2329    def list_members(self, ):
Note: See TracChangeset for help on using the changeset viewer.