ソースを参照

Fix breakage introduced with 6b1edc86

Last minute change breaks the build, fix python syntax.

Signed-off-by: Stefano Babic <sbabic@denx.de>
Stefano Babic 4 年 前
コミット
fbcf306a28
1 ファイル変更1 行追加1 行削除
  1. 1 1
      classes/swupdate-image.bbclass

+ 1 - 1
classes/swupdate-image.bbclass

@@ -24,7 +24,7 @@ python () {
           d.setVarFlag("SWUPDATE_IMAGES_FSTYPES", image, flag)
        else:
           fstypes = d.getVar('IMAGE_FSTYPES').split()
-          if not fstypes
+          if not fstypes:
               bb.fatal("SWUPDATE_IMAGES_FSTYPES[%s] is not set !" % image)
           for t in fstypes:
               bb.warn("SWUPDATE_IMAGES_FSTYPES[%s] not set, setting to %s" % (image, t))