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 argv handling in main() #810

Closed
wants to merge 1 commit into from

Conversation

kkaarreell
Copy link
Contributor

argv is not passed to main from entry_point which leads
to the following traceback:

Traceback (most recent call last):
File "/usr/local/bin/keylime_ima_emulator", line 33, in
sys.exit(load_entry_point('keylime==0.0.0', 'console_scripts', 'keylime_ima_emulator')())
TypeError: main() missing 1 required positional argument: 'argv'

argv argument is not necessary as we can access sys.argv
directly.

argv is not passed to main from entry_point which leads
to the following traceback:

Traceback (most recent call last):
  File "/usr/local/bin/keylime_ima_emulator", line 33, in <module>
    sys.exit(load_entry_point('keylime==0.0.0', 'console_scripts', 'keylime_ima_emulator')())
TypeError: main() missing 1 required positional argument: 'argv'

argv argument is not necessary as we can access sys.argv
directly.
@THS-on
Copy link
Member

THS-on commented Dec 16, 2021

@kkaarreell #809 already fixes that.

@kkaarreell
Copy link
Contributor Author

I see. I am closing it then. Thank you.

@kkaarreell kkaarreell closed this Dec 16, 2021
@kkaarreell kkaarreell deleted the ima_emulator_argv branch December 16, 2021 14:23
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