changeset 4730:614dac6122cb

merged moin/1.7
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 09 May 2009 03:16:28 +0200
parents 4d2bc24c7723 (current diff) 2a55ba43afb3 (diff)
children 742ace271d41
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/filter/EXIF.py	Fri May 01 21:50:00 2009 +0200
+++ b/MoinMoin/filter/EXIF.py	Sat May 09 03:16:28 2009 +0200
@@ -1105,12 +1105,12 @@
         self.den = den
 
     def __repr__(self):
-        self.reduce()
+        self.reduce_size()
         if self.den == 1:
             return str(self.num)
         return '%d/%d' % (self.num, self.den)
 
-    def reduce(self):
+    def reduce_size(self):
         div = gcd(self.num, self.den)
         if div > 1:
             self.num = self.num / div