Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push: fix script failure with undefined LIFETIME #20

Merged
merged 1 commit into from
May 9, 2024

Conversation

roman-khimov
Copy link
Member

File "/home/runner/work/_actions/nspcc-dev/gh-push-to-neofs/master/push-to-neofs.py", line 287, in
push_files_to_neofs(
File "/home/runner/work/_actions/nspcc-dev/gh-push-to-neofs/master/push-to-neofs.py", line 275, in push_files_to_neofs
expiration_epoch,
^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'expiration_epoch' where it is not associated with a value

  File "/home/runner/work/_actions/nspcc-dev/gh-push-to-neofs/master/push-to-neofs.py", line 287, in <module>
    push_files_to_neofs(
  File "/home/runner/work/_actions/nspcc-dev/gh-push-to-neofs/master/push-to-neofs.py", line 275, in push_files_to_neofs
    expiration_epoch,
    ^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'expiration_epoch' where it is not associated with a value

Signed-off-by: Roman Khimov <[email protected]>
Copy link
Collaborator

@vvarg229 vvarg229 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@roman-khimov roman-khimov merged commit 9368a9d into master May 9, 2024
2 checks passed
@roman-khimov roman-khimov deleted the fix-expiration-handling branch May 9, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants