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

Fix attempted relative import in non-package #73

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Fix attempted relative import in non-package #73

merged 1 commit into from
Oct 22, 2019

Conversation

borlafu
Copy link
Contributor

@borlafu borlafu commented Oct 22, 2019

The Dockerfile is not launching the script as a package, so relative imports added in 09d8003 are failing:

Traceback (most recent call last):
  File "/awscurl/awscurl.py", line 19, in <module>
    from .utils import sha256_hash, sha256_hash_for_binary_data, sign
ValueError: Attempted relative import in non-package

The Dockerfile is not launching the script as a package, so relative imports added in 09d8003 are failing:
```
Traceback (most recent call last):
  File "/awscurl/awscurl.py", line 19, in <module>
    from .utils import sha256_hash, sha256_hash_for_binary_data, sign
ValueError: Attempted relative import in non-package
```
@okigan
Copy link
Owner

okigan commented Oct 22, 2019

Thanks

@okigan okigan merged commit 23cc907 into okigan:master Oct 22, 2019
okigan added a commit that referenced this pull request Dec 21, 2019
Fix attempted relative import in non-package
okigan added a commit that referenced this pull request Dec 21, 2019
Fix attempted relative import in non-package
@borlafu borlafu deleted the patch-1 branch October 11, 2023 10:26
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.

None yet

2 participants