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

2009-10-01 Thread Aahz
In article , wrote: >Tim Roberts 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 specificat

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

2009-09-27 Thread tinnews
Tim Roberts 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 sub

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 Maildi

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

2009-09-26 Thread tinnews
Jeff McNeil 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 sty

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

2009-09-26 Thread tinnews
Jeff McNeil 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._p

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 wrote: > On Sep 25, 4:13 pm, tinn...@isbd.co.uk wrote: > > > > > > > Jeff McNeil 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

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 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 contai

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

2009-09-25 Thread tinnews
Jeff McNeil 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:- > > > >     chris$ ls

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 >     t

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 09:4