Merge lp:~bladernr/checkbox/949435-remove-hard-coded-paths into lp:checkbox
Proposed by
Jeff Lane
Status: | Merged |
---|---|
Approved by: | Javier Collado |
Approved revision: | 1315 |
Merged at revision: | 1326 |
Proposed branch: | lp:~bladernr/checkbox/949435-remove-hard-coded-paths |
Merge into: | lp:checkbox |
Diff against target: |
102 lines (+21/-7) 5 files modified
debian/changelog (+9/-0) jobs/graphics.txt.in (+1/-1) jobs/suspend.txt.in (+2/-2) scripts/gpu_test (+2/-1) scripts/xrandr_cycle (+7/-3) |
To merge this branch: | bzr merge lp:~bladernr/checkbox/949435-remove-hard-coded-paths |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Javier Collado (community) | Approve | ||
Review via email: mp+96681@code.launchpad.net |
Description of the change
Fixes bug 949435 regarding the hard coded checkbox paths in gpu_test and xrandr_cycle.
Also, bumped the changelog to 0.13.5 since 0.13.4 has been submitted to main.
To post a comment you must log in.
In `xrandr_cycle`, I don't like much the line in which `my_path` is being assigned because:
- is defined in line 20 and not used until line 87 split(< whatever> )[0]` is used instead of `os.path.dirname`
- the name isn't very descriptive
- I'm not sure why `os.path.
(even if it contains another call to `os.path.dirname`)
The last two comments also apply to `gpu_test`