From 9c5825fda0defb38d743f7c2650e25c58828b237 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 31 Oct 2012 11:47:39 +0200 Subject: [PATCH] BmapFlasher.py: remove undefined variable 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 --- BmapFlasher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BmapFlasher.py b/BmapFlasher.py index dd2eb9e..af90068 100644 --- a/BmapFlasher.py +++ b/BmapFlasher.py @@ -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 -- 2.7.4