Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • GNOME Tweaks GNOME Tweaks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 218
    • Issues 218
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GNOME TweaksGNOME Tweaks
  • Merge requests
  • !5

Don't crash if a GSettings schema is missing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Simon McVittie requested to merge smcv/gnome-tweaks:gsettings-missing into master Mar 06, 2018
  • Overview 4
  • Commits 4
  • Pipelines 0
  • Changes 4

GSettingsMissingError doesn't have a message attribute, at least under Python 3.6. This caused a crash in distributions like Debian where commit 53a8edb7 "desktop: Don't install panel" was reverted to support Nautilus 3.26, when used in conjunction with a prerelease build of Nautilus 3.27.

Use the logging module's support for '%' interpolation while I'm touching those lines anyway, as recommended by pylint warning W1201.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gsettings-missing