From: Zac Medico Date: Sun, 13 Dec 2009 03:53:31 +0000 (-0000) Subject: Fix typo. (trunk r15047) X-Git-Tag: v2.1.7.14~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74147cc1fbbe3df6927042471aed67b13300c55a;p=portage.git Fix typo. (trunk r15047) svn path=/main/branches/2.1.7/; revision=15081 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 82064c35f..b70c5fe26 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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)):