eric6/HexEdit/HexEditChunks.py

changeset 7254
f00d825fbdb3
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/HexEdit/HexEditChunks.py	Sat Sep 21 16:04:17 2019 +0200
+++ b/eric6/HexEdit/HexEditChunks.py	Sat Sep 21 17:41:22 2019 +0200
@@ -147,8 +147,8 @@
                         maxSize -= count
                         pos += count
                         if highlighted is not None:
-                            highlighted += \
-                                chunk.dataChanged[chunkOfs:chunkOfs + count]
+                            highlighted += chunk.dataChanged[
+                                chunkOfs:chunkOfs + count]
             
             if maxSize > 0 and pos < chunk.absPos:
                 # In this section, we read data from the original source. This
@@ -417,8 +417,10 @@
         
         for idx in range(len(self.__chunks)):
             chunk = self.__chunks[idx]
-            if absPos >= chunk.absPos and \
-                    absPos < (chunk.absPos + len(chunk.data)):
+            if (
+                absPos >= chunk.absPos and
+                absPos < (chunk.absPos + len(chunk.data))
+            ):
                 foundIdx = idx
                 break
             

eric ide

mercurial