From 035c81c554c135ff5a22e6ac8e21c33e8facaf0d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 25 Sep 2009 05:03:13 +0000 Subject: Fix ValueError in digestcheck(), reported by Arfrever. svn path=/main/trunk/; revision=14419 --- pym/portage/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 9adab4baf..5fb492ae9 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -5419,6 +5419,7 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0): return 0 continue for d in dirs: + d_bytes = d try: d = _unicode_decode(d, encoding=_encodings['fs'], errors='strict') @@ -5434,7 +5435,7 @@ def digestcheck(myfiles, mysettings, strict=0, justmanifest=0): dirs.remove(d) continue if d.startswith(".") or d == "CVS": - dirs.remove(d) + dirs.remove(d_bytes) for f in files: try: f = _unicode_decode(f, -- cgit v1.2.3-1-g7c22