diff dulwich/objects.py @ 92:6305f274fc63

fixed subtree issue and zero padding issue
author Scott Chacon <schacon@gmail.com>
date Sat, 09 May 2009 16:52:37 -0700
parents e35ed99fa691
children b3be536e3f50
line wrap: on
line diff
--- a/dulwich/objects.py	Sat May 09 15:36:53 2009 -0700
+++ b/dulwich/objects.py	Sat May 09 16:52:37 2009 -0700
@@ -429,6 +429,7 @@
         self._needs_serialization = True
 
     def entry(self, name):
+        self._ensure_parsed()
         try:
             return self._entries[name]
         except: