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

wrap sysinfo to defaultdict to return None #72

Merged

Conversation

rytilahti
Copy link
Collaborator

Wraps sysinfo with defaultdict returning None, makes it easier not to fail hard on missing values on different types of devices. Fixes #67

@kirichkov
Copy link
Collaborator

Should we bother with the Hound's styling comments? If not go ahead and merge it.

@rytilahti
Copy link
Collaborator Author

Hound says this is fine, though?

}
}
}
}

Choose a reason for hiding this comment

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

closing bracket does not match visual indentation

'Rel.090105'
}
}
}

Choose a reason for hiding this comment

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

closing bracket does not match visual indentation

'sw_ver': '1.5.5 Build 170623 '
'Rel.090105'
}
}

Choose a reason for hiding this comment

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

closing bracket does not match visual indentation

'rssi': -61,
'sw_ver': '1.5.5 Build 170623 '
'Rel.090105'
}

Choose a reason for hiding this comment

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

closing bracket does not match visual indentation

@rytilahti
Copy link
Collaborator Author

This fixes also #69, the location will be shown just as None then in status.

@rytilahti rytilahti mentioned this pull request Aug 5, 2017
@rytilahti rytilahti merged commit 0927930 into GadgetReactor:master Aug 5, 2017
@rytilahti
Copy link
Collaborator Author

Ok, merged this as there are no hound issues :-)

@rytilahti rytilahti mentioned this pull request Aug 5, 2017
@kirichkov
Copy link
Collaborator

kirichkov commented Aug 6, 2017

I think the hound issues were on a different PR :-) Maybe I got something cached while looking at Files changed? Who knows, it's irrelevant anyways.

PS.: Yup, it's #74.

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