Author: thoger
Update of /cvs/fedora/fedora-security/tools/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16388/tools/scripts
Modified Files:
add-issue
Log Message:
make sure keys in %versions are sorted when used as default value for
--versions
Index: add-issue
===================================================================
RCS file: /cvs/fedora/fedora-security/tools/scripts/add-issue,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- add-issue 2 Feb 2008 09:22:18 -0000 1.4
+++ add-issue 19 Mar 2008 17:01:39 -0000 1.5
@@ -56,7 +56,7 @@
@versions = $options{versions}
? split (/,/, $options{versions}) # versions were specified
- : keys %versions; # all known versions
+ : sort {$a <=> $b} keys %versions; # all known versions
@bugs = $options{bugs}
? split (/,/, $options{bugs})
Show replies by date