Changeset b42118c for asadb/util/mailinglist.py
- Timestamp:
- Sep 17, 2012, 2:08:56 AM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 49724e4
- Parents:
- ac9b167
- git-author:
- Alex Dehnert <adehnert@…> (09/17/12 02:08:56)
- git-committer:
- Alex Dehnert <adehnert@…> (09/17/12 02:08:56)
- File:
-
- 1 edited
-
asadb/util/mailinglist.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
asadb/util/mailinglist.py
rac9b167 rb42118c 1 1 import subprocess 2 3 import mit 2 4 3 5 … … 15 17 BLANCHE_PATH="/usr/bin/blanche" 16 18 class MoiraList(MailingList): 19 def __init__(self, *args, **kwargs): 20 super(MoiraList, self).__init__(*args, **kwargs) 21 self.ccache = mit.kinit() 22 17 23 def list_members(self, ): 18 24 raise NotImplementedError … … 55 61 # changes, and use -al / -dl with a tempfile as appropriate. 56 62 63 env = dict(KRB5CCNAME=self.ccache.name) 57 64 cmdline = [BLANCHE_PATH, self.name, ] 58 65 … … 72 79 stdout=subprocess.PIPE, 73 80 stderr=subprocess.STDOUT, 81 env=env, 74 82 ) 75 83 stdout, stderr = res.communicate()
Note: See TracChangeset
for help on using the changeset viewer.