Tweaks to use inplace arithmetic

svn: r13191
This commit is contained in:
Gerald Britton
2009-09-10 18:49:48 +00:00
parent d5e48cda06
commit 941fff23ae
31 changed files with 56 additions and 60 deletions

View File

@@ -561,7 +561,7 @@ class Span(object):
diff = 0
while eDate >> date2 and diff > -60:
diff -= 1
eDate = eDate - (0, 0, abs(diff))
eDate -= (0, 0, abs(diff))
if diff == -60:
return (-1, -1, -1)
if self.negative: