More Import cleanups

svn: r1498
This commit is contained in:
Alex Roitman
2003-05-06 04:48:51 +00:00
parent a1374f76dc
commit 98bd0706eb
3 changed files with 9 additions and 8 deletions

View File

@@ -123,7 +123,7 @@ class ReadNative:
for filename in files:
oldfile = os.path.join(tmpdir_path,filename)
newfile = os.path.join(dbdir_path,filename)
if filename != const.xmlFile:
if filename not in [const.xmlFile,const.xmlFile+'.bak']:
shutil.copy2( oldfile, newfile )
os.remove( oldfile )