Commits

Sebastien Binet  committed cac5c78

better diagnostic

  • Participants
  • Parent commits 741407c

Comments (0)

Files changed (1)

File wafflelib/waffle.py

     
     ctx.env.WAFFLE_CMTCFG = ctx.env.CMTCFG
     o = ctx.env.WAFFLE_CMTCFG.split('-')
-    assert len(o) == 4
+    assert len(o) == 4, "invalid CMTCFG: [%s]" % ctx.env.CMTCFG
     
     if o[1].startswith('mac'):
         o[1] = 'darwin'