Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-10-01 Thread Aahz
In article h9o1bf$cm...@news.eternal-september.org, tinn...@isbd.co.uk wrote: Tim Roberts t...@probo.com wrote: tinn...@isbd.co.uk wrote: My maildir hierarchy is created by mutt which is a *very* standards compliant MUA, surely standard python libraries should work with standard maildirs not

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-27 Thread tinnews
Tim Roberts t...@probo.com wrote: tinn...@isbd.co.uk wrote: My maildir hierarchy is created by mutt which is a *very* standards compliant MUA, surely standard python libraries should work with standard maildirs not some wierd extension thereof. The Maildir specification does not allow for

Re: What does the list_folders() method of mailbox.Maildir actually ??do (if anything)?

2009-09-26 Thread tinnews
Jeff McNeil j...@jmcneil.net wrote: The Maildir++ spec states that folders need to begin with a period. The list_folders method enforces that:     def list_folders(self):         Return a list of folder names.         result = []         for entry in os.listdir(self._path):  

Re: What does the list_folders() method of mailbox.Maildir actually ??do (if anything)?

2009-09-26 Thread tinnews
Jeff McNeil j...@jmcneil.net wrote: My maildir hierarchy is created by mutt which is a *very* standards compliant MUA, surely standard python libraries should work with standard maildirs not some wierd extension thereof. -- Chris Green The doc says that Folders of the style

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-26 Thread Tim Roberts
tinn...@isbd.co.uk wrote: My maildir hierarchy is created by mutt which is a *very* standards compliant MUA, surely standard python libraries should work with standard maildirs not some wierd extension thereof. The Maildir specification does not allow for subfolders. That was added in

What does the list_folders() method of mailbox.Maildir actually do (if anything)?

2009-09-25 Thread tinnews
I can't get the list_folders() method of the mailbox.Maildir class to do anything remotely useful. It seems to do nothing at all. I have a directory which contains a number of maildir malboxes:- chris$ ls -l /home/chris/Mail/apex total 24 drwx-- 5 chris chris 4096 2009-04-30

Re: What does the list_folders() method of mailbox.Maildir actually do (if anything)?

2009-09-25 Thread Jeff McNeil
On Sep 25, 3:22 pm, tinn...@isbd.co.uk wrote: I can't get the list_folders() method of the mailbox.Maildir class to do anything remotely useful.  It seems to do nothing at all.  I have a directory which contains a number of maildir malboxes:-     chris$ ls -l /home/chris/Mail/apex     total

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-25 Thread tinnews
Jeff McNeil j...@jmcneil.net wrote: On Sep 25, 3:22 pm, tinn...@isbd.co.uk wrote: I can't get the list_folders() method of the mailbox.Maildir class to do anything remotely useful.  It seems to do nothing at all.  I have a directory which contains a number of maildir malboxes:-    

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-25 Thread Jeff McNeil
On Sep 25, 4:13 pm, tinn...@isbd.co.uk wrote: Jeff McNeil j...@jmcneil.net wrote: On Sep 25, 3:22 pm, tinn...@isbd.co.uk wrote: I can't get the list_folders() method of the mailbox.Maildir class to do anything remotely useful.  It seems to do nothing at all.  I have a directory which

Re: What does the list_folders() method of mailbox.Maildir actually ?do (if anything)?

2009-09-25 Thread Jeff McNeil
On Sep 25, 4:28 pm, Jeff McNeil j...@jmcneil.net wrote: On Sep 25, 4:13 pm, tinn...@isbd.co.uk wrote: Jeff McNeil j...@jmcneil.net wrote: On Sep 25, 3:22 pm, tinn...@isbd.co.uk wrote: I can't get the list_folders() method of the mailbox.Maildir class to do anything remotely