Browse Source

Fix DeleteCVS when the argument is an empty string

rdb 16 years ago
parent
commit
b115bba5de
1 changed files with 1 additions and 0 deletions
  1. 1 0
      makepanda/makepandacore.py

+ 1 - 0
makepanda/makepandacore.py

@@ -533,6 +533,7 @@ def ConditionalWriteFile(dest,desiredcontents):
         WriteFile(dest,desiredcontents)
 
 def DeleteCVS(dir):
+    if dir == ".": dir = "."
     for entry in os.listdir(dir):
         if (entry != ".") and (entry != ".."):
             subdir = dir + "/" + entry