[prologix] flake8

Sat, 19 May 2018 00:05:01 +0200

author
David Douard <david.douard@logilab.fr>
date
Sat, 19 May 2018 00:05:01 +0200
changeset 99
12dbadb58b19
parent 98
4cbd3d410230
child 100
709ffa28cf7e

[prologix] flake8

pygpibtoolkit/prologix.py file | annotate | diff | comparison | revisions
--- a/pygpibtoolkit/prologix.py	Sun Jun 03 18:04:11 2018 +0200
+++ b/pygpibtoolkit/prologix.py	Sat May 19 00:05:01 2018 +0200
@@ -117,7 +117,7 @@
         self._cnx.write(b'++read eoi\r')  # idem
         ret = ''
         i = 0
-        while not ret.endswith('\r\n') and i<3:
+        while not ret.endswith('\r\n') and i < 3:
             ret += (b''.join(self._cnx.readlines())).decode()
             time.sleep(self._timeout)  # required?
             i += 1

mercurial