BmapFlasher.py: remove undefined variable
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Wed, 31 Oct 2012 09:47:39 +0000 (11:47 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Thu, 1 Nov 2012 06:59:02 +0000 (08:59 +0200)
Kill the left-over from old dayse when all the code was in 'bmap-flasher' and
we had 'args' variable.

Change-Id: Icc36deedd8e38b6488bcd35da78bab6ba7df1e9b
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
BmapFlasher.py

index dd2eb9e..af90068 100644 (file)
@@ -123,7 +123,7 @@ class BmapFlasher:
                 self._f_bmap = open(bmap_path, 'r')
             except IOError as err:
                 raise Error("cannot open bmap file '%s': %s" \
-                            % (args.bmap, err.strerror))
+                            % (bmap_path, err.strerror))
             self._parse_bmap()
         else:
             # There is no bmap. Initialize user-visible variables to something