From 5ed0ddfdfe8087f9f46a3419b5aa4d9b574e89e1 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 20 Jan 2016 14:57:24 +0000 Subject: Switch to isync instead of offlineimap --- .offlineimap/offlineimap.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .offlineimap/offlineimap.py (limited to '.offlineimap/offlineimap.py') 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 "" -- cgit v1.2.3