From 94b51128d145b8804bc60776bf0e4ce08cda9be2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 13 Feb 2015 22:19:45 +0100 Subject: [PATCH] Whitespace fixes. --- qutebrowser/config/config.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/qutebrowser/config/config.py b/qutebrowser/config/config.py index 8e06fb63d..533a4d7b1 100644 --- a/qutebrowser/config/config.py +++ b/qutebrowser/config/config.py @@ -142,10 +142,9 @@ def init(args): objreg.register('config', config_obj) if confdir is not None: filename = os.path.join(confdir, 'qutebrowser.conf') - save_manager.add_saveable('config', config_obj.save, - config_obj.changed, - config_opt=('general', 'auto-save-config'), - filename=filename) + save_manager.add_saveable( + 'config', config_obj.save, config_obj.changed, + config_opt=('general', 'auto-save-config'), filename=filename) try: key_config = keyconf.KeyConfigParser(confdir, 'keys.conf') except (keyconf.KeyConfigError, UnicodeDecodeError) as e: @@ -163,10 +162,9 @@ def init(args): objreg.register('key-config', key_config) if confdir is not None: filename = os.path.join(confdir, 'keys.conf') - save_manager.add_saveable('key-config', key_config.save, - key_config.changed, - config_opt=('general', 'auto-save-config'), - filename=filename) + save_manager.add_saveable( + 'key-config', key_config.save, key_config.changed, + config_opt=('general', 'auto-save-config'), filename=filename) datadir = standarddir.get(QStandardPaths.DataLocation, args) state_config = ini.ReadWriteConfigParser(datadir, 'state')