diff options
Diffstat (limited to 'offlineimap.py')
-rw-r--r-- | offlineimap.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/offlineimap.py b/offlineimap.py deleted file mode 100644 index c63b82d..0000000 --- a/offlineimap.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env python - -import os -import subprocess -def mailpasswd(acct): - acct = os.path.basename(acct) - path = "/home/urbain/.passwords/%s.asc" % acct - args = ["gpg", "--use-agent", "--quiet", "--batch", "-d", path] - try: - return subprocess.check_output(args).strip() - except subprocess.CalledProcessError: - return "" |