/offlineimap/head: changeset 193

Normalize exception message to 80 characters and fix account name
interpolation.
This commit is contained in:
mj 2002-07-25 08:16:21 +01:00
parent 413b5aac0b
commit 2b2fbf450b
1 changed files with 2 additions and 1 deletions

View File

@ -95,7 +95,8 @@ else:
for account in accounts:
if '.' in account:
raise ValueError, "Account '%s' contains a dot; dots are not allowed in account names."
raise ValueError, "Account '%s' contains a dot; dots are not " \
"allowed in account names." % account
if config.has_option(account, "preauthtunnel"):
tunnels[account] = config.get(account, "preauthtunnel")
elif config.has_option(account, "remotepass"):