diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 5a6958b24b..e1cf9ba957 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -556,7 +556,7 @@ def DeleteCVS(dir): shutil.rmtree(subdir) else: DeleteCVS(subdir) - elif (os.path.isfile(subdir) and (entry == ".cvsignore" or entry.startswith(".#")): + elif (os.path.isfile(subdir) and (entry == ".cvsignore" or entry.startswith(".#"))): os.remove(subdir) def DeleteBuildFiles(dir):