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

mountpoint expects path instead of self.device #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

mountpoint expects path instead of self.device #51

wants to merge 1 commit into from

Conversation

mmayuri
Copy link

@mmayuri mmayuri commented Mar 23, 2021

fixes: AttributeError: 'SamsungSdMuxController' object has no attribute 'device'

Signed-off-by: Mayuri Mohite [email protected]

Comment on lines 269 to 270
path = None
mountpoint = self._mountpoint(path)
Copy link
Collaborator

Choose a reason for hiding this comment

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

mountpoint = self._mountpoint()

(path is optional)

Copy link
Author

Choose a reason for hiding this comment

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

Resolved

Copy link
Contributor

Choose a reason for hiding this comment

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

@chombourger ,
Presently we face issue AttributeError: 'SamsungSdMuxController' object has no attribute 'device' from sdmux/helpers/image.py.
Presently following attributes are defined in Class
SamsungSdMuxController(Image):
def init(self, mtda):
super().init(mtda)
self.file = "/dev/sda"
self.serial = "sdmux"

As file also corresponds to device will it be okay to change file to device or should we add new attribute "device" for SamsungSdMuxController

fixes: AttributeError: 'SamsungSdMuxController' object has no attribute 'device'

Signed-off-by: Mayuri Mohite <[email protected]>
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.

3 participants