* don't fail with non-utf8 names (huh?)

This commit is contained in:
Eray Özkural
2006-03-16 13:50:59 +00:00
parent ddcec52036
commit e22b029a55
+4 -1
View File
@@ -554,7 +554,10 @@ class Builder:
found = [] found = []
def locate_package_names(files): def locate_package_names(files):
for fn in files: for fn in files:
fn = fn.decode('utf-8') try:
fn = fn.decode('utf-8') # FIXME: why is this necessary?
except: # fix 1088
continue
if util.is_package_name(fn, package_name): if util.is_package_name(fn, package_name):
old_package_fn = util.join_path(root, fn) old_package_fn = util.join_path(root, fn)
try: try: