Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Travel-Status-DE-IRIS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
Travel-Status-DE-IRIS
Commits
fbab6058
Unverified
Commit
fbab6058
authored
2 years ago
by
Birte Kristina Friesel
Browse files
Options
Downloads
Patches
Plain Diff
db-iris: perltidy
parent
905d9148
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/db-iris
+4
-5
4 additions, 5 deletions
bin/db-iris
with
4 additions
and
5 deletions
bin/db-iris
+
4
−
5
View file @
fbab6058
...
...
@@ -10,10 +10,10 @@ our $VERSION = '1.75';
use
DateTime
;
use
DateTime::Format::
Strptime
;
use
Encode
qw(decode)
;
use
Encode
qw(decode)
;
use
Getopt::
Long
qw(:config no_ignore_case bundling)
;
use
JSON
;
use
List::
Util
qw(first max)
;
use
List::
Util
qw(first max)
;
use
List::
MoreUtils
qw(none)
;
use
Travel::Status::DE::
IRIS
;
use
Travel::Status::DE::IRIS::
Stations
;
...
...
@@ -462,7 +462,7 @@ for my $d ( $status->results() ) {
@via
=
(
$d
->
route_post
,
$d
->
route_end
);
if
(
(
$filter_via
and
not
(
first
{
$_
=~
m{$filter_via}io
}
@via
)
)
or
(
@grep_class
and
none
{
$_
~~
\
@grep_class
}
$d
->
classes
)
or
(
@grep_class
and
none
{
$_
~~
\
@grep_class
}
$d
->
classes
)
or
(
@grep_platform
and
not
(
$d
->
platform
~~
\
@grep_platform
)
)
or
(
@grep_type
and
not
(
$d
->
type
~~
\
@grep_type
)
)
or
$d
->
is_wing
)
...
...
@@ -482,8 +482,7 @@ for my $d ( $status->results() ) {
my
$d_via
=
first
{
$_
->
train_id
eq
$d
->
train_id
or
(
$_
->
old_train_id
and
$_
->
old_train_id
eq
$d
->
train_id
);
}
$status_via
->
results
;
}
$status_via
->
results
;
if
(
not
$d_via
or
not
$d_via
->
sched_arrival
or
$d_via
->
sched_arrival
<
$d
->
departure
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment