Add Blob.__slots__.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 27 Jul 2010 18:06:34 +0000 (20:06 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 27 Jul 2010 18:06:34 +0000 (20:06 +0200)
dulwich/objects.py

index 947e22e33f731e5dfcda0d3855d439c37a20deaa..aeea5d32216401095192d1f7992b750613320b96 100644 (file)
@@ -479,6 +479,8 @@ class ShaFile(object):
 class Blob(ShaFile):
     """A Git Blob object."""
 
+    __slots__ = ()
+
     type_name = 'blob'
     type_num = 3