importing diamond.schema can fail with no display
Bug #930073 reported by
Tim Greaves
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spud |
Fix Released
|
Low
|
Tim Greaves |
Bug Description
When using diamond purely as a validation tool to check options files, diamond.schema can be imported in environments which don't have a display but do have gtk.gdk. An example of this would be the diamond_validation test case in Fluidity.
As far as I can see there is no need to import gtk.gdk in diamond.schema as it's not used, and removing it doesn't appear to break anything. It would be very handy if this could be removed, so that headless systems can still use diamond.schema for validation.
Related branches
lp:~spud/spud/diamond-schema-remove-gdk
- David Ham: Approve
-
Diff: 11 lines (+0/-1)1 file modifieddiamond/diamond/schema.py (+0/-1)
Changed in spud: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Tim Greaves (tim-greaves) |
Changed in spud: | |
status: | In Progress → Fix Committed |
Changed in spud: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.