cleanup: Fix style nits in last commit
Missing space after catch and wrong double quotes.
This commit is contained in:
parent
bb6d9734e4
commit
5473637736
@ -353,8 +353,8 @@ 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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user