Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def process(git_repo_url, space_destination, user_token):
|
|
17 |
|
18 |
# Log the contents of the tmp_dir with its subfolders
|
19 |
print("Contents of the cloned repository:")
|
20 |
-
for root, dirs, files in os.walk(
|
21 |
level = root.replace(tmp_dir, '').count(os.sep)
|
22 |
indent = ' ' * 4 * level
|
23 |
print(f"{indent}{os.path.basename(root)}/")
|
|
|
17 |
|
18 |
# Log the contents of the tmp_dir with its subfolders
|
19 |
print("Contents of the cloned repository:")
|
20 |
+
for root, dirs, files in os.walk(tmp_dir):
|
21 |
level = root.replace(tmp_dir, '').count(os.sep)
|
22 |
indent = ' ' * 4 * level
|
23 |
print(f"{indent}{os.path.basename(root)}/")
|