mutt/offlineimaplinux.py @ 9eee23072538

Remove some unused cruft
author Steve Losh <steve@stevelosh.com>
date Tue, 26 Jun 2018 13:18:58 -0400
parents 8899300998c0
children b86a3b6153f2
#!/usr/bin/python

import subprocess

def get_keychain_pass(account=None):
    command = "pass-work '%s'" % account
    output = subprocess.check_output(command, shell=True, stderr=subprocess.STDOUT)
    return output.splitlines()[0]