Alon Bar-Lev has uploaded a new change for review.

Change subject: core: avoid pyflakes error with python2
......................................................................

core: avoid pyflakes error with python2

Change-Id: Ic569d4a654341875a129e7e8599c311746f6e828
Signed-off-by: Alon Bar-Lev <[email protected]>
---
M src/otopi/plugin.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/29/27529/1

diff --git a/src/otopi/plugin.py b/src/otopi/plugin.py
index 7404984..2a4378b 100644
--- a/src/otopi/plugin.py
+++ b/src/otopi/plugin.py
@@ -535,7 +535,7 @@
                                     ],
                                 )
                             should_close = True
-                        except BlockingIOError:
+                        except builtins.BlockingIOError:
                             pass
                         except OSError as e:
                             if e.errno != errno.EWOULDBLOCK:
@@ -550,7 +550,7 @@
                                     break
                                 entry['buffer'] += buf
                             should_close = True
-                        except BlockingIOError:
+                        except builtins.BlockingIOError:
                             pass
                         except OSError as e:
                             if e.errno != errno.EWOULDBLOCK:


-- 
To view, visit http://gerrit.ovirt.org/27529
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic569d4a654341875a129e7e8599c311746f6e828
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to