Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SireInsectus committed Oct 3, 2022
1 parent 9515217 commit f748419
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dbacademy_gems/dbgems/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ def check_for_latest_version(module: str, curriculum_workspaces_only=True) -> bo
if current_version[1:] == versions[-1]:
return True # They match, all done!

print_warning(title=f"Outdated Dependency: {module}",
print_warning(title=f"Outdated Dependency",
message=f"You are using version {current_version} but the latest version is {versions[-1]}.\n"+
f"Please update your dependencies on the module \"{module}\" at your earliest convenience.")
f"Please update your dependencies on the module \"{module}\" at your earliest convenience.")
else:
print_warning(title=f"Improper Dependency: {module}",
print_warning(title=f"Invalid Dependency",
message=f"You are using the branch or commit hash {current_version} but the latest version is {versions[-1]}.\n"+
f"Please update your dependencies on the module \"{module}\" at your earliest convenience.")
f"Please update your dependencies on the module \"{module}\" at your earliest convenience.")
except Exception as e:
if testable:
raise e
Expand Down

0 comments on commit f748419

Please sign in to comment.