Merge lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number into lp:ubuntu/raring/ubuntu-drivers-common
Proposed by
Ted Gould
Status: | Rejected |
---|---|
Rejected by: | Martin Pitt |
Proposed branch: | lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number |
Merge into: | lp:ubuntu/raring/ubuntu-drivers-common |
Diff against target: |
12 lines (+1/-1) 1 file modified
NvidiaDetector/nvidiadetector.py (+1/-1) |
To merge this branch: | bzr merge lp:~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu branches | Pending | ||
Review via email: mp+137754@code.launchpad.net |
Description of the change
#1 issue on errors.ubuntu.com, would be good to see this get in. Basically we're just parsing the package name incorrectly for the new packages that have started appearing.
To post a comment you must log in.
I'm pretty sure I've already fixed this. The following code (which precedes the one you edited) should prevent nvidia-detector from processing packages containing the "experimental" string in their name:
for package in apt.Cache(): name.startswith ('nvidia- ')
continue
if (not package.
or 'updates' in package.name
or 'experimental' in package.name):