Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
PA-11605 0 manifests == incomplete (#85)
Browse files Browse the repository at this point in the history
* PA-11605 0 manifests == incomplete

* set version
  • Loading branch information
SOOS-GSteen committed Nov 10, 2023
1 parent b7cb31f commit 4fc2b57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/cli/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.14
1.7.15-rc1
9 changes: 3 additions & 6 deletions src/cli/soos.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,6 @@ def build_looking_for_files_str(use_lock_file: bool) -> str:
exclude = False
pure_filename = os.path.basename(file_name)
pure_directory = os.path.dirname(file_name)
immediate_parent_folder = ""

for exclude_dir in dirs_to_exclude:
# Directories to Exclude
Expand Down Expand Up @@ -951,11 +950,9 @@ def build_looking_for_files_str(use_lock_file: bool) -> str:
SOOS.console_log("Could not upload manifest files due to an error: " + str(e))
return None
finally:
if total_valid_manifest_count > 0:
SOOS.console_log(f"Total valid manifests sent: {total_valid_manifest_count}")
return total_valid_manifest_count
else:
return None
# total may be zero
SOOS.console_log(f"Total valid manifests sent: {total_valid_manifest_count}")
return total_valid_manifest_count

@staticmethod
def recursive_glob(treeroot, pattern):
Expand Down

0 comments on commit 4fc2b57

Please sign in to comment.