Przeglądaj źródła

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 lat temu
rodzic
commit
d018267c3b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      classes/swupdate-image.bbclass

+ 1 - 1
classes/swupdate-image.bbclass

@@ -23,7 +23,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))