also sprach martin f krafft <[EMAIL PROTECTED]> [2008.05.01.2145 +0100]:
> I created a Maildir 'debian/test' remotely (.debian.test) and then
> ran offlineimap -1 with strace. I found that I can only reproduce
> this if I create a new maildir remotely as a subdir of an existing
> maildir.

It identifies
~/.var/offlineimap/Account-seamus.madduck.net/LocalStatus/debian as
the parent *folder* of
~/.var/offlineimap/Account-seamus.madduck.net/LocalStatus/debian.test,
but plain 'debian' already exists as a file.

Seems like repository/Base.py:181 is using srchash's keys, which had
getsep() replacement applied to them. In this case, the key is
'debian/test', but LocalStatus should really be making 'debian.test'
instead.

I am failing to understand the logic of this function at this
moment. But using

  copyfolder.makefolder(key.replace(dest.getsep(), src.getsep()))

instead of just key at line 181 fixes it for me.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"i don't think so," said rene descartes. just then, he vanished.

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to