Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 740688 | Differences between
and this patch

Collapse All | Expand All

(-)hplip-3.20.6_orig/base/utils.py (+7 lines)
Lines 274-279 Link Here
274
    for name in names:
274
    for name in names:
275
        fullname = os.path.normpath(os.path.join(root, name))
275
        fullname = os.path.normpath(os.path.join(root, name))
276
276
277
	if os.path.islink(fullname):
278
	    linkname = os.readlink(fullname);
279
#	    log.debug("link: %s -> %s" % (fullname,linkname))
280
	    if linkname == ".":
281
		log.debug("skipping link: %s (.)" % fullname)
282
		continue
283
277
        for pat in pat_list:
284
        for pat in pat_list:
278
            if fnmatch.fnmatch(name, pat):
285
            if fnmatch.fnmatch(name, pat):
279
                if return_folders or not os.path.isdir(fullname):
286
                if return_folders or not os.path.isdir(fullname):

Return to bug 740688