From 2b2fbf450b94c4b7c228178ec03651b65d0dd5be Mon Sep 17 00:00:00 2001 From: mj Date: Thu, 25 Jul 2002 08:16:21 +0100 Subject: [PATCH] /offlineimap/head: changeset 193 Normalize exception message to 80 characters and fix account name interpolation. --- offlineimap/head/offlineimap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/offlineimap/head/offlineimap.py b/offlineimap/head/offlineimap.py index 5e76645..133b8d7 100644 --- a/offlineimap/head/offlineimap.py +++ b/offlineimap/head/offlineimap.py @@ -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"):