Skip to content

Commit

Permalink
Add missing dev deps (for heavy stubs) and typo
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Giffard <[email protected]>
  • Loading branch information
Samuel Giffard committed Oct 11, 2023
1 parent 9e71cff commit f595f12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ types-mock
types-requests
# Extra stubs
google-api-python-client-stubs
# Used for their stubs
zstandard==0.21.0
python-snappy==0.6.1
6 changes: 3 additions & 3 deletions rohmu/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ def get_transfer_model(storage_config: Config) -> StorageModel:

def get_transfer(storage_config: Config) -> BaseTransfer[Any]:
storage_config = storage_config.copy()
noitifier_config = storage_config.pop("notifier", None)
notifier_config = storage_config.pop("notifier", None)
notifier = None
if noitifier_config is not None:
notifier = get_notifier(noitifier_config)
if notifier_config is not None:
notifier = get_notifier(notifier_config)
model = get_transfer_model(storage_config)
return get_transfer_from_model(model, notifier)

Expand Down

0 comments on commit f595f12

Please sign in to comment.