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

Wichert Akkerman wichert at wiggy.net
Wed Dec 5 04:34:56 EST 2007


Log message for revision 82137:
  Slightly clearer error message

Changed:
  U   Products.GenericSetup/branches/1.3/Products/GenericSetup/tool.py

-=-
Modified: Products.GenericSetup/branches/1.3/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/branches/1.3/Products/GenericSetup/tool.py	2007-12-05 04:59:16 UTC (rev 82136)
+++ Products.GenericSetup/branches/1.3/Products/GenericSetup/tool.py	2007-12-05 09:34:56 UTC (rev 82137)
@@ -907,7 +907,7 @@
                 should_purge = True
             return SnapshotImportContext(self, context_id, should_purge, encoding)
         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