Skip to content
GitLab
Explore
Sign in
derf
Travel-Status-DE-IRIS
Compare revisions
2fd17567f106baca1dd3c3d3c9a5e0162b45e53f to c2cd510d601b419c73001980b8a65ebea0f70046
Commits on Source (2)
get_station: Do not push (possibly non-EVA) argument to @seen
· 443244d9
Birte Kristina Friesel
authored
Feb 25, 2024
The corresponding EVA ID will be added later anyways.
443244d9
get_station: push refs one-by-one (otherwise the condition would be useless)
· c2cd510d
Birte Kristina Friesel
authored
Feb 25, 2024
c2cd510d
Hide whitespace changes
Inline
Side-by-side
lib/Travel/Status/DE/IRIS.pm
View file @
c2cd510d
...
...
@@ -471,7 +471,6 @@ sub get_station {
while
(
@queue
and
$iter_depth
<
12
)
{
my
$station
=
shift
(
@queue
);
push
(
@seen
,
$station
);
$iter_depth
++
;
my
(
$raw
,
$err
)
...
...
@@ -555,7 +554,7 @@ sub get_station {
for
my
$ref
(
@refs
)
{
if
(
none
{
$_
==
$ref
}
@seen
and
none
{
$_
==
$ref
}
@queue
)
{
push
(
@queue
,
@
ref
s
);
push
(
@queue
,
$
ref
);
}
}
$opt
{
root
}
=
0
;
...
...