summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 646295fee..ef73e4595 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)):