mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
assure a consistent assignment for nodes with multiple labels
This commit is contained in:
parent
b866020f66
commit
9caa110141
2 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue