mirror of https://github.com/python/cpython
assure a consistent assignment for nodes with multiple labels
This commit is contained in:
parent
b866020f66
commit
9caa110141
|
@ -4,7 +4,8 @@
|
|||
require "labels.pl";
|
||||
|
||||
%nodes = ();
|
||||
foreach $label (keys %external_labels) {
|
||||
# sort so that we get a consistent assignment for nodes with multiple labels
|
||||
foreach $label (sort keys %external_labels) {
|
||||
$nodes{$external_labels{$label}} = $label;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
require "labels.pl";
|
||||
|
||||
%nodes = ();
|
||||
foreach $label (keys %external_labels) {
|
||||
# sort so that we get a consistent assignment for nodes with multiple labels
|
||||
foreach $label (sort keys %external_labels) {
|
||||
$nodes{$external_labels{$label}} = $label;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue