Make sure that module blacklist file can be opened for writing

Bug #900850 reported by Hedayat Vatankhah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Currently, oslib.py opens module blacklist file for writing without checking for exceptions. In some cases, it is not possible. The provided patch moves the open command inside the try block.

Related branches

Revision history for this message
Hedayat Vatankhah (hedayat-fwd+launchpad) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Committed to trunk. Thank you!

affects: jockey → jockey (Ubuntu)
Changed in jockey (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.9.6-0ubuntu1

---------------
jockey (0.9.6-0ubuntu1) precise; urgency=low

  * New upstream bug fix release:
    - jockey/oslib.py: Use specified target_kernel for module aliases, too.
      Thanks Hedayat Vatankhah! (LP: #900851)
    - jockey/oslib.py: Be robust against failure to open blacklist for
      writing. Thanks Hedayat Vatankhah! (LP: #900850)
    - Fix some style issues in desktop files. Thanks Hedayat Vatankhah!
      (LP: #900819)
    - ui_notification(): Add accessible description to indicator.
      (LP: #891920)
    - Launchpad automatic translations updates.

  * debian/control: Move from transitional python-gobject to python-gi.
 -- Martin Pitt <email address hidden> Thu, 08 Dec 2011 12:52:01 +0100

Changed in jockey (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers