From 54736377368989c73fdb03cc0ad87e86350d43dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 8 Jul 2019 20:14:35 +0200 Subject: [PATCH] cleanup: Fix style nits in last commit Missing space after catch and wrong double quotes. --- js/ui/endSessionDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index f4950ba84..ead7eae78 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -353,8 +353,8 @@ class EndSessionDialog extends ModalDialog.ModalDialog { // It only makes sense to check for this permission if PackageKit is available. try { this._updatesPermission = Polkit.Permission.new_sync( - "org.freedesktop.packagekit.trigger-offline-update", null, null); - } catch(e) { + 'org.freedesktop.packagekit.trigger-offline-update', null, null); + } catch (e) { log('No permission to trigger offline updates: %s'.format(e.toString())); } }