[gnome-music/wip/jfelder/searchbar-child: 6/7] window: Fix warnings with new Flake8



commit 3a66735f5b09d50007efa2465651fc16ab4ed7ec
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Nov 16 01:29:43 2018 +0100

    window: Fix warnings with new Flake8
    
    This is a follow up of commit c855efb4.

 gnomemusic/window.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 3b81e0e1..bbb1dcc3 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -135,8 +135,8 @@ class Window(Gtk.ApplicationWindow):
 
         self._headerbar.bind_property(
             "search-mode-enabled", self._searchbar, "search-mode-enabled",
-            GObject.BindingFlags.BIDIRECTIONAL |
-            GObject.BindingFlags.SYNC_CREATE)
+            GObject.BindingFlags.BIDIRECTIONAL
+            | GObject.BindingFlags.SYNC_CREATE)
         self._searchbar.props.stack = self._stack
         self._headerbar.connect(
             'back-button-clicked', self._switch_back_from_childview)
@@ -150,8 +150,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]