changeset 4729:2a55ba43afb3

filter.EXIF: reduce renamed to reduce_size (avoid name clash)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 08 May 2009 20:01:57 +0200
parents d8049de69c4f
children 614dac6122cb 512aeb66b980
files MoinMoin/filter/EXIF.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/filter/EXIF.py	Sat Apr 18 21:08:35 2009 +0200
+++ b/MoinMoin/filter/EXIF.py	Fri May 08 20:01:57 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