Commits

Benoît Allard  committed f52681e

web: Don't create builds during release edition

  • Participants
  • Parent commits fbf17b4

Comments (0)

Files changed (1)

                 .filter_by(number=buildnumber) \
                 .first()
             if build is None:
-                build = models.Build(number=buildnumber)
-                request.dbsession.add(build)
-                flash('Created new build #%d' % build.number)
+                flash('Build are not created (any more) during Release edition. '
+                      'Please create them separately. Skipping %d.' % buildnumber)
+                continue
 
             # fetch Binary
             binary = q(models.Binary) \