Skip to content

Commit

Permalink
BmapCopy: Fix unconditional initialization of _bmap_path
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
schwesinger authored and JPEWdev committed Nov 19, 2024
1 parent 6ac4a87 commit 83fcea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bmaptool/BmapCopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83fcea5

Please sign in to comment.