diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-02-26 11:44:47 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-26 12:17:20 +0000 |
commit | a3575d43f6717ee745a9689d55103ce9c87587ed (patch) | |
tree | 55395e876f8bc62b10901c0b303acc18f49e7c90 /bin | |
parent | 6954823390e7332bd8d1ab0afa28b3c0fb02db39 (diff) |
[Buckinghamshire] Ignore TfL as a district.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixmystreet.com/buckinghamshire-flytipping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixmystreet.com/buckinghamshire-flytipping b/bin/fixmystreet.com/buckinghamshire-flytipping index 27548be88..70a37ea34 100755 --- a/bin/fixmystreet.com/buckinghamshire-flytipping +++ b/bin/fixmystreet.com/buckinghamshire-flytipping @@ -34,7 +34,7 @@ my $body = FixMyStreet::DB->resultset("Body")->for_areas(BUCKS_AREA_ID)->first; die "Could not find Bucks body" unless $body; my @districts = FixMyStreet::DB->resultset("Body")->for_areas(DISTRICT_IDS)->all; -my @district_ids = map { $_->id } @districts; +my @district_ids = map { $_->id } grep { $_->name ne 'TfL' } @districts; die "Did not find all districts" unless @district_ids == 4; find_problems(TIME_OPEN_ALERT, TIME_OPEN, 'Auto-closure', 1); |