repositories
/
dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9a6446abc0e9a629ae2d3794212a45b3541521f0
[dotfiles.git]
/
.mutt
/
offlineimap.py
1
#!/bin/env python
2
# -*- coding: utf-8 -*-
3
4
import
subprocess
5
6
7
def
mailpasswd
():
8
args
=
'/usr/bin/gpg --use-agent --quiet --batch --decrypt '
+
\
9
'/home/marlub/.mutt/passwd.gpg'
10
try
:
11
result
=
subprocess
.
check_output
(
args
,
shell
=
'/bin/bash'
).
strip
()
12
return
result
13
except
:
14
return
""