9411: Creating New DB-API family tree creates an extra __init__.py in the new database directory.
This commit is contained in:
parent
b526a41af1
commit
344f953c0b
@ -68,6 +68,8 @@ class DBAPI(DbGeneric):
|
||||
"dbapi_support", "defaults")
|
||||
LOG.debug("Copy defaults from: " + defaults)
|
||||
for filename in os.listdir(defaults):
|
||||
if filename in ["__init__.py"]: # skip these
|
||||
continue
|
||||
fullpath = os.path.abspath(os.path.join(defaults, filename))
|
||||
if os.path.isfile(fullpath):
|
||||
shutil.copy2(fullpath, directory)
|
||||
|
Loading…
Reference in New Issue
Block a user