From d4ed4899dc886df1e87a988fe6271ab81aa777b2 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Fri, 23 Nov 2012 14:29:53 +0200 Subject: [PATCH] BmapCopy.py: remove few useless initializations We initialize these variables right after setting them to None, which is probably an overkill, remove the None assignment. Change-Id: Ibf419b2d138ab025e0aa60f1eb3ac6a477a92734 Signed-off-by: Artem Bityutskiy --- bmaptools/BmapCopy.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bmaptools/BmapCopy.py b/bmaptools/BmapCopy.py index f7071e2..d5afc78 100644 --- a/bmaptools/BmapCopy.py +++ b/bmaptools/BmapCopy.py @@ -251,13 +251,8 @@ class BmapCopy: self._f_image_needs_close = False self._f_bmap_needs_close = False - self._f_dest = None - self._f_image = None self._f_bmap = None - - self._dest_path = None - self._image_path = None - self._bmap_path = None + self._f_bmap_path = None if hasattr(dest, "write"): self._f_dest = dest -- 2.7.4