Skip to content

Chainging rootwait to rootdelay#3

Merged
samip5 merged 2 commits intomasterfrom
rootwait_to_rootdelay
Oct 22, 2021
Merged

Chainging rootwait to rootdelay#3
samip5 merged 2 commits intomasterfrom
rootwait_to_rootdelay

Conversation

@samip5
Copy link
Contributor

@samip5 samip5 commented Oct 13, 2021

Please take a look.

@samip5 samip5 requested a review from perkinslr October 13, 2021 14:19
@samip5 samip5 changed the title Changed rootwait to rootdelay which is a breaking change. Chainging rootwait to rootdelay Oct 13, 2021
device = p.stdout.read()
return device.decode('utf-8').strip()
print(p.stderr.read())
rootdelay -= 1
Copy link

Choose a reason for hiding this comment

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

Wouldn't we want to look for the root device on every loop?

Or is that what it's doing and I just don't speak python well enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can't comment on that as I mostly just changed identition and rootwait to rootdelay.

Copy link

@jonesmz jonesmz left a comment

Choose a reason for hiding this comment

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

Does "rootdelay" automatically imply "rootwait"? it looks like you've removed references to rootwait entirely (I think?)

Also, the indentation of the entire file was changed. If that's intentional, then OK. Just figured I'd point it out.

@jonesmz
Copy link

jonesmz commented Oct 13, 2021

As a minor recommendation, maybe move the whitespace changes to a second commit prior to your logic changes.

@samip5 samip5 force-pushed the rootwait_to_rootdelay branch from 50042a2 to 3503131 Compare October 22, 2021 17:20
@samip5 samip5 requested a review from jonesmz October 22, 2021 17:21
@samip5 samip5 force-pushed the rootwait_to_rootdelay branch from 3035c60 to 60e91fd Compare October 22, 2021 17:25
@samip5 samip5 merged commit 63e37b5 into master Oct 22, 2021
@samip5 samip5 deleted the rootwait_to_rootdelay branch October 22, 2021 20:47
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