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

on Fedora.... #550

Open
dabzse opened this issue Aug 8, 2021 · 1 comment
Open

on Fedora.... #550

dabzse opened this issue Aug 8, 2021 · 1 comment

Comments

@dabzse
Copy link

dabzse commented Aug 8, 2021

[root@host user]# multibootusb
/usr/local/bin/multibootusb:194: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if uninstall is True and config.usb_disk is not '':
/usr/local/bin/multibootusb:196: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif uninstall is True and config.usb_disk is '':
/usr/local/bin/multibootusb:200: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif config.image_path is '' and config.usb_disk is '':
/usr/local/bin/multibootusb:200: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif config.image_path is '' and config.usb_disk is '':
/usr/local/bin/multibootusb:203: SyntaxWarning: "is not" with a literal. Did you mean "!="?
elif config.cli_syslinux is True and config.usb_disk is not '':
/usr/local/bin/multibootusb:205: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif config.image_path is '' or config.usb_disk is '':
/usr/local/bin/multibootusb:205: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif config.image_path is '' or config.usb_disk is '':
Using python version 3.9.6 (default, Jul 16 2021, 00:00:00)
[GCC 10.3.1 20210422 (Red Hat 10.3.1-1)] on platform Linux-5.13.5-100.fc33.x86_64-x86_64-with-glibc2.32
Could not find resource 'data/tools/gdisk/gdisk.exe'.
Traceback (most recent call last):
File "/usr/local/bin/multibootusb", line 187, in
if config.debug is True:
NameError: name 'config' is not defined

@smilingblackcat
Copy link

Those were simple: I got thru those by editing the script to use "==" and "!=" since those statements are comparing to VALUES, not identity.

Now I'm getting

File "/usr/local/bin/multibootusb", line 187, in
if config.debug is True:
NameError: name 'config' is not defined

Back to digging

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

No branches or pull requests

2 participants