diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-03-10 19:11:45 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-03-10 19:59:53 -0400 |
commit | 58960f46833806eb098735ac99a7884cc49200b7 (patch) | |
tree | eee23712b7fa22fe35c7cfa316f8af41461369e7 /offlineimap | |
parent | 6bc35c0a557da3279e475faa10316f674607bc7e (diff) | |
download | conf-58960f46833806eb098735ac99a7884cc49200b7.tar.gz conf-58960f46833806eb098735ac99a7884cc49200b7.zip |
offlineimap configuration
Diffstat (limited to 'offlineimap')
-rw-r--r-- | offlineimap/pass.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/offlineimap/pass.py b/offlineimap/pass.py new file mode 100644 index 0000000..20ca510 --- /dev/null +++ b/offlineimap/pass.py @@ -0,0 +1,5 @@ +from subprocess import Popen, PIPE + +def get_password(key): + (out, err) = Popen(["pass", key], stdout=PIPE).communicate() + return out.strip() |