art: Don't mask file builtin
@@ -222,10 +222,10 @@ class UninstallPathSet(object):
if fname.endswith(".pyc"):
continue
- file = os.path.join(dirpath, fname)
- if os.path.isfile(file) and file not in files:
+ file_ = os.path.join(dirpath, fname)
+ if os.path.isfile(file_) and file_ not in files:
# We are skipping this file. Add it to the set.
- will_skip.add(file)
+ will_skip.add(file_)
will_remove = files | {
os.path.join(folder, "*") for folder in folders
