فهرست منبع

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 سال پیش
والد
کامیت
637cf67eda
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))