Error message:
raise Exception ("'%s' is not a valid directory!" % FvDir)
NameError: name 'FvDir' is not defined
FvDir should be fvDir.
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
# If the fvDir is not a directory, then raise an exception\r
#\r
if not os.path.isdir(fvDir):\r
- raise Exception ("'%s' is not a valid directory!" % FvDir)\r
+ raise Exception ("'%s' is not a valid directory!" % fvDir)\r
\r
#\r
# If the Guid.xref is not existing in fvDir, then raise an exception\r