[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/tool.py Slightly clearer error message

Wichert Akkerman wichert at wiggy.net
Wed Dec 5 04:35:25 EST 2007


Log message for revision 82138:
  Slightly clearer error message

Changed:
  U   Products.GenericSetup/trunk/Products/GenericSetup/tool.py

-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2007-12-05 09:34:56 UTC (rev 82137)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py	2007-12-05 09:35:24 UTC (rev 82138)
@@ -977,7 +977,7 @@
                                        should_purge=should_purge,
                                       )
         else:
-            raise KeyError, 'Unknown context %s' % context_id
+            raise KeyError, 'Unknown context "%s"' % context_id
 
     security.declarePrivate('_updateImportStepsRegistry')
     def _updateImportStepsRegistry(self, context, encoding):



More information about the Checkins mailing list