cleanup: Fix style nits in last commit

Missing space after catch and wrong double quotes.
This commit is contained in:
Florian Müllner 2019-07-08 20:14:35 +02:00
parent bb6d9734e4
commit 5473637736

View File

@ -353,7 +353,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
// It only makes sense to check for this permission if PackageKit is available. // It only makes sense to check for this permission if PackageKit is available.
try { try {
this._updatesPermission = Polkit.Permission.new_sync( this._updatesPermission = Polkit.Permission.new_sync(
"org.freedesktop.packagekit.trigger-offline-update", null, null); 'org.freedesktop.packagekit.trigger-offline-update', null, null);
} catch (e) { } catch (e) {
log('No permission to trigger offline updates: %s'.format(e.toString())); log('No permission to trigger offline updates: %s'.format(e.toString()));
} }