[gnome-music/wip/jfelder/search-selection-reset: 5/9] window: Remove a flake8 warning



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

    window: Remove 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 00491470..6738e43d 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -144,8 +144,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]