From 83fcea5b61e932a8e29a990c6b58f79ed8f62820 Mon Sep 17 00:00:00 2001 From: Folker Schwesinger Date: Sat, 18 May 2024 14:59:07 +0200 Subject: [PATCH] BmapCopy: Fix unconditional initialization of _bmap_path Fix the initialization of instance variable _bmap_path by renaming the only occurrence of _f_bmap_path in the constructor of class BmapCopy. The naming scheme (_f_bmap, _bmap_path) is now consistent with (_f_dest, _dest_path) and (_f_image, _image_path) declared later in the BmapCopy constructor. Signed-off-by: Folker Schwesinger --- src/bmaptool/BmapCopy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmaptool/BmapCopy.py b/src/bmaptool/BmapCopy.py index a28c3d9..f8f0a2f 100644 --- a/src/bmaptool/BmapCopy.py +++ b/src/bmaptool/BmapCopy.py @@ -246,7 +246,7 @@ def __init__(self, image, dest, bmap=None, image_size=None): self.mapped_percent = None self._f_bmap = None - self._f_bmap_path = None + self._bmap_path = None self._progress_started = None self._progress_index = None