##// END OF EJS Templates
py3: check for None before comparing with integers...
Pulkit Goyal -
r38101:a4942675 default
parent child Browse files
Show More
@@ -846,7 +846,7 b' class revlog(object):'
846 def rawsize(self, rev):
846 def rawsize(self, rev):
847 """return the length of the uncompressed text for a given revision"""
847 """return the length of the uncompressed text for a given revision"""
848 l = self.index[rev][2]
848 l = self.index[rev][2]
849 if l >= 0:
849 if l is not None and l >= 0:
850 return l
850 return l
851
851
852 t = self.revision(rev, raw=True)
852 t = self.revision(rev, raw=True)
General Comments 0
You need to be logged in to leave comments. Login now