Merge lp:~roadmr/checkbox/1337270-mediacard-ssd into lp:checkbox
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 3102 |
Merged at revision: | 3105 |
Proposed branch: | lp:~roadmr/checkbox/1337270-mediacard-ssd |
Merge into: | lp:checkbox |
Diff against target: |
12 lines (+1/-1) 1 file modified
checkbox-support/checkbox_support/parsers/udevadm.py (+1/-1) |
To merge this branch: | bzr merge lp:~roadmr/checkbox/1337270-mediacard-ssd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+225559@code.launchpad.net |
Commit message
checkbox-
Per https:/
hard drives have model names which made our card reader regular
expression mistake them for card readers (specifically the string mSATA
looked like a memory stick to our naive regex). This adds a simple
negative lookahead to ensure MS only matches if it's not followed
immediately by "ata". The regex is case-insensitive.
Description of the change
checkbox-
Per https:/
hard drives have model names which made our card reader regular
expression mistake them for card readers (specifically the string mSATA
looked like a memory stick to our naive regex). This adds a simple
negative lookahead to ensure MS only matches if it's not followed
immediately by "ata". The regex is case-insensitive.
I ran all the checkbox-support tests to ensure nothing else in device detection changed.
very cool regexp, thanks +1a