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

Typo in recovery_common.py #75

Closed
iktyrrell opened this issue Feb 3, 2019 · 2 comments
Closed

Typo in recovery_common.py #75

iktyrrell opened this issue Feb 3, 2019 · 2 comments

Comments

@iktyrrell
Copy link
Contributor

Attempting to build a custom image for bionic, I encountered the following error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python3/dist-packages/Dell/recovery_backend.py", line 456, in assemble_image
    white_tree("copy", white_pattern, base_mnt, assembly_tmp)
  File "/usr/lib/python3/dist-packages/Dell/recovery_common.py", line 91, in white_tree
    return _tree(action, whitelist, src, dst, base, True)
  File "/usr/lib/python3/dist-packages/Dell/recovery_common.py", line 120, in _tree
    _tree(action, list, src_name, dst_name, base, white))
  File "/usr/lib/python3/dist-packages/Dell/recovery_common.py", line 132, in _tree
    shtuil.copy(src_name, dst_name)
NameError: name 'shtuil' is not defined

There is a typo shtuil should be shutil - fixing this in the file alleviated the error.

@superm1
Copy link
Contributor

superm1 commented Feb 3, 2019

Can you submit a pr for this? Obviously that's correct.

@luislobo
Copy link

This should be closed

@superm1 superm1 closed this as completed Mar 25, 2019
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

3 participants