summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-12 07:46:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-12 07:46:34 +0000
commit79c50e74d2699e55ca84f7392256f61886999a24 (patch)
tree0aace65a1457a2f177dcae1e431b9f38072a8488
parenta55db3e249485b5d01e4a131e4f1b20d4418fc53 (diff)
downloadportage-79c50e74d2699e55ca84f7392256f61886999a24.tar.gz
portage-79c50e74d2699e55ca84f7392256f61886999a24.tar.bz2
portage-79c50e74d2699e55ca84f7392256f61886999a24.zip
Fix typo.
svn path=/main/trunk/; revision=15047
-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)):