[gnome-music/wip/jfelder/search-selection-reset: 20/24] window: Fix a flake8 warning



commit 0c4a401319d2504c4218da701269b94e5f294c5a
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Feb 27 21:21:53 2019 +0100

    window: Fix a flake8 warning
    
    This prevents a W504 warning (line break after binary operator).

 gnomemusic/window.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index b06410db..85be589f 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -156,8 +156,8 @@ class Window(Gtk.ApplicationWindow):
             'selected-items-count', selection_toolbar, 'selected-items-count')
         self.bind_property(
             'selection-mode', self._headerbar, 'selection-mode',
-            GObject.BindingFlags.BIDIRECTIONAL |
-            GObject.BindingFlags.SYNC_CREATE)
+            GObject.BindingFlags.BIDIRECTIONAL
+            | GObject.BindingFlags.SYNC_CREATE)
         self.bind_property(
             'selection-mode', selection_toolbar, 'visible',
             GObject.BindingFlags.SYNC_CREATE)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]