Re: remotepasseval

Josiah Schwab <[email protected]>
Newsgroups gmane.mail.imap.offlineimap.general
Message-ID <[email protected]>
Hello,

>     import re
>     import subprocess as sb
>     def bashcmd(command):
>         p = re.compile(r' ')
>         sb.call(p.split(command))

Your function needs to return the password.  There is no return
statement here.  In python, functions return None implicitly, hence the
error.

Josiah

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.