diff --git a/fqcn-fixer.py b/fqcn-fixer.py index dcbbcd7..52a84d4 100755 --- a/fqcn-fixer.py +++ b/fqcn-fixer.py @@ -154,7 +154,10 @@ def isexcluded(path, _exclude_paths): # build exclude_paths exclude_paths = [] -for ep in args.exclude_paths + [".cache", ".git", ".hg", ".svn", ".tox", args.fqcnmapfile]: +for ep in args.exclude_paths: + exclude_paths.append(os.path.abspath(ep)) +# some deafaults to exclude +for ep in [".cache", ".git", ".hg", ".svn", ".tox", ".collections", args.fqcnmapfile]: exclude_paths.append(os.path.abspath(ep)) # update some args from optional config file