diff options
author | mkanat%bugzilla.org <> | 2009-09-30 10:55:03 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-09-30 10:55:03 +0200 |
commit | ac905a580c68bcf9b4ddaaff636969575aab4c64 (patch) | |
tree | ab9fe5dd41311b851148b0e5b85886e306b29cd5 /contrib/gnatsparse | |
parent | dc4608b97cec3af3c7028717da291cd5e238a8d4 (diff) | |
download | bugzilla-ac905a580c68bcf9b4ddaaff636969575aab4c64.tar.gz bugzilla-ac905a580c68bcf9b4ddaaff636969575aab4c64.tar.xz |
Bug 488931: Change the default priority values to be human-readable words instead of P1, P2, etc.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'contrib/gnatsparse')
-rwxr-xr-x | contrib/gnatsparse/gnatsparse.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/gnatsparse/gnatsparse.py b/contrib/gnatsparse/gnatsparse.py index 21ec7a840..9eef18b89 100755 --- a/contrib/gnatsparse/gnatsparse.py +++ b/contrib/gnatsparse/gnatsparse.py @@ -552,19 +552,19 @@ class Bugzillabug(object): priority = self.fields["Priority"] if severity == "critical": if priority == "high": - self.fields["priority"] = "P1" + self.fields["priority"] = "Highest" else: - self.fields["priority"] = "P2" + self.fields["priority"] = "High" elif severity == "serious": if priority == "low": - self.fields["priority"] = "P4" + self.fields["priority"] = "Low" else: - self.fields["priority"] = "P3" + self.fields["priority"] = "Normal" else: if priority == "high": - self.fields["priority"] = "P4" + self.fields["priority"] = "Low" else: - self.fields["priority"] = "P5" + self.fields["priority"] = "Lowest" self.fields["priority"] = SqlQuote(self.fields["priority"]) state = self.fields["State"] if (state == "open" or state == "analyzed") and self.fields["userid"] != 3: |