[Checkins] SVN: grok/trunk/doc/minitutorials/transient-objects.txt Fixed a typo in my minitutorial so that the example code matches

Brandon Rhodes brandon at rhodesmill.org
Sun Sep 16 23:43:15 EDT 2007


Log message for revision 79704:
  Fixed a typo in my minitutorial so that the example code matches
  the text describing it.
  

Changed:
  U   grok/trunk/doc/minitutorials/transient-objects.txt

-=-
Modified: grok/trunk/doc/minitutorials/transient-objects.txt
===================================================================
--- grok/trunk/doc/minitutorials/transient-objects.txt	2007-09-17 02:33:31 UTC (rev 79703)
+++ grok/trunk/doc/minitutorials/transient-objects.txt	2007-09-17 03:43:13 UTC (rev 79704)
@@ -843,7 +843,7 @@
              n = Natural(int(key))
              return zope.location.location.located(n, self, key)
          else:
-             raise IndexError
+             raise KeyError
  
  class NaturalIndex(grok.View):
      grok.context(Natural)



More information about the Checkins mailing list