From: Artem Bityutskiy Date: Fri, 23 Nov 2012 12:29:53 +0000 (+0200) Subject: BmapCopy.py: remove few useless initializations X-Git-Tag: v1.0~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4ed4899dc886df1e87a988fe6271ab81aa777b2;p=tools%2Fbmap-tools.git 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 --- 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