From 8df9472e0cdbab0d12211c2bc77918e8f515c409 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 8 Aug 2015 20:08:42 +0200 Subject: Improve installation and organization --- offlineimap.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 offlineimap.py (limited to 'offlineimap.py') 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 "" -- cgit v1.2.3