Projet

Général

Profil

0001-workflows-don-t-break-on-quotation-marks-in-status-n.patch

Frédéric Péters, 22 juin 2016 17:15

Télécharger (925 octets)

Voir les différences:

Subject: [PATCH] workflows: don't break on quotation marks in status names
 (#11493)

 wcs/admin/workflows.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/admin/workflows.py
137 137
    for status in workflow.possible_status:
138 138
        i = status.id
139 139
        print >>out, 'status%s' % i,
140
        print >>out, '[label="%s"' % status.name,
140
        print >>out, '[label="%s"' % status.name.replace('"', "'"),
141 141
        if select == str(i):
142 142
            print >>out, ',id=current_status'
143 143
        if status.colour:
144
-