Maildir: flagmatchre --> re_flagmatch

Overlooked a variable renaming when merging in a branch.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
Sebastian Spaeth 2012-01-07 13:10:41 +01:00
parent 9d6a2dec37
commit 0b85a34fc7
2 changed files with 3 additions and 1 deletions

View File

@ -31,3 +31,5 @@ Bug Fixes
* Fixed MachineUI to urlencode() output lines again, rather than * Fixed MachineUI to urlencode() output lines again, rather than
outputting multi-line items. It's ugly as hell, but it had been that outputting multi-line items. It's ugly as hell, but it had been that
way for years. way for years.
* Fixed Maildir regression "flagmatchre" not found. (regressed in 6.5.0)

View File

@ -298,7 +298,7 @@ class MaildirFolder(BaseFolder):
# Flags have actually changed, construct new filename # Flags have actually changed, construct new filename
# Strip off existing infostring (preserving small letter flags that # Strip off existing infostring (preserving small letter flags that
# dovecot uses) # dovecot uses)
infomatch = self.flagmatchre.search(filename) infomatch = self.re_flagmatch.search(filename)
if infomatch: if infomatch:
filename = filename[:-len(infomatch.group())] #strip off filename = filename[:-len(infomatch.group())] #strip off
infostr = '%s2,%s' % (self.infosep, ''.join(sorted(flags))) infostr = '%s2,%s' % (self.infosep, ''.join(sorted(flags)))