BmapCopy.py: remove few useless initializations
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 23 Nov 2012 12:29:53 +0000 (14:29 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Sat, 24 Nov 2012 15:06:48 +0000 (17:06 +0200)
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 <artem.bityutskiy@intel.com>
bmaptools/BmapCopy.py

index f7071e2..d5afc78 100644 (file)
@@ -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