Skip to content

Commit

Permalink
Fixed syntax error that only affects running selftest.py in python 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Sep 20, 2010
1 parent f321fdb commit b9f25a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def parse(self, stream):
if debugmode and len(self.source) > 0: if debugmode and len(self.source) > 0:
debug("- %2d hunks for %s" % (len(self.hunks[nextfileno-1]), self.source[nextfileno-1])) debug("- %2d hunks for %s" % (len(self.hunks[nextfileno-1]), self.source[nextfileno-1]))


info("total files: %d total hunks: %d" % (len(self.source), sum(len(hset) for hset in self.hunks))) info("total files: %d total hunks: %d" % (len(self.source), sum([len(hset) for hset in self.hunks])))




def apply(self): def apply(self):
Expand Down

0 comments on commit b9f25a9

Please sign in to comment.