/head: changeset 42
Fixed MD5 processing.
This commit is contained in:
		| @@ -43,9 +43,9 @@ accounts = accounts.split(",") | |||||||
| server = None | server = None | ||||||
| remoterepos = None | remoterepos = None | ||||||
| localrepos = None | localrepos = None | ||||||
| mailboxes = [] |  | ||||||
|  |  | ||||||
| def syncitall(): | def syncitall(): | ||||||
|  |     mailboxes = [] | ||||||
|     for accountname in accounts: |     for accountname in accounts: | ||||||
|         ui.acct(accountname) |         ui.acct(accountname) | ||||||
|         accountmetadata = os.path.join(metadatadir, accountname) |         accountmetadata = os.path.join(metadatadir, accountname) | ||||||
|   | |||||||
| @@ -24,6 +24,7 @@ timeseq = 0 | |||||||
| lasttime = long(0) | lasttime = long(0) | ||||||
|  |  | ||||||
| def gettimeseq(): | def gettimeseq(): | ||||||
|  |     global lasttime, timeseq | ||||||
|     thistime = long(time.time()) |     thistime = long(time.time()) | ||||||
|     if thistime == lasttime: |     if thistime == lasttime: | ||||||
|         timeseq += 1 |         timeseq += 1 | ||||||
| @@ -91,7 +92,7 @@ class MaildirFolder(BaseFolder): | |||||||
|                 # assume it is a foreign (new) message and generate a |                 # assume it is a foreign (new) message and generate a | ||||||
|                 # negative uid for it |                 # negative uid for it | ||||||
|                 uid = nouidcounter |                 uid = nouidcounter | ||||||
|                 nouidcountr -= 1 |                 nouidcounter -= 1 | ||||||
|             else:                       # It comes from our folder. |             else:                       # It comes from our folder. | ||||||
|                 uidmatch = re.search(',U=(\d+)', messagename) |                 uidmatch = re.search(',U=(\d+)', messagename) | ||||||
|                 uid = None |                 uid = None | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 jgoerzen
					jgoerzen