Fix typo. (trunk r15047)
authorZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:53:31 +0000 (03:53 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 Dec 2009 03:53:31 +0000 (03:53 -0000)
svn path=/main/branches/2.1.7/; revision=15081

pym/portage/__init__.py

index 82064c35fa60e33a62d12883ead9966b4b1acc6d..b70c5fe26bb3858e12a82054ee086e19aacbdafe 100644 (file)
@@ -7678,7 +7678,7 @@ def movefile(src, dest, newmtime=None, sstat=None, mysettings=None,
                                                mtime_str = "%i." % int_mtime
                                                nonzero_digits = 0
                                                decimal_places = 9
-                                               for i in range(max_digits):
+                                               for i in range(decimal_places):
                                                        for digit in range(9, -1, -1):
                                                                digit_str = str(digit)
                                                                if int_mtime == long(float(mtime_str + digit_str)):