diff options
author | 2009-12-13 03:53:31 +0000 | |
---|---|---|
committer | 2009-12-13 03:53:31 +0000 | |
commit | 74147cc1fbbe3df6927042471aed67b13300c55a (patch) | |
tree | 416d3e41435d3fe3eae7e61040bf045292c7dd5b /pym | |
parent | In movefile mtime rounding code, generate nanosecond resolution (9 decimal (diff) | |
download | portage-74147cc1fbbe3df6927042471aed67b13300c55a.tar.gz portage-74147cc1fbbe3df6927042471aed67b13300c55a.tar.bz2 portage-74147cc1fbbe3df6927042471aed67b13300c55a.zip |
Fix typo. (trunk r15047)
svn path=/main/branches/2.1.7/; revision=15081
Diffstat (limited to 'pym')
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)): |