mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
Clean up redundant directories and add library to update_dependencies
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -220,7 +220,6 @@ class GhostRequest:
|
||||
testbed='Unknown Testbed',
|
||||
test_run=None,
|
||||
target_folders=list(),
|
||||
grafana_dashboard=None,
|
||||
grafana_token=None,
|
||||
grafana_host=None,
|
||||
grafana_port=3000,
|
||||
@@ -251,6 +250,8 @@ class GhostRequest:
|
||||
print(files)
|
||||
for file in files:
|
||||
if os.path.isdir(parent_folder + '/' + file) is True:
|
||||
if os.path.exists(file):
|
||||
shutil.rmtree(file)
|
||||
shutil.copytree(parent_folder + '/' + file, file)
|
||||
target_folders.append(file)
|
||||
print('Target folders: %s' % target_folders)
|
||||
|
||||
Reference in New Issue
Block a user