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