aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-07 16:33:18 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-09 16:41:23 +0000
commit491eb26e463c5976a159060782c0217cf450d4fc (patch)
tree8f7c7a5a07892e7a20303cf045cb71a51c3cfcef /bin
parent8c5f462c2215446df04503e4da4cd40e0b01ec59 (diff)
[UK] Exclude Bristol from open311-populate-service-list.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/open311-populate-service-list3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/open311-populate-service-list b/bin/open311-populate-service-list
index 211061258..8cb41a47b 100755
--- a/bin/open311-populate-service-list
+++ b/bin/open311-populate-service-list
@@ -23,7 +23,8 @@ my ($opt, $usage) = describe_options(
print($usage->text), exit if $opt->help;
my $bodies = FixMyStreet::DB->resultset('Body')->search( {
- id => { '!=', 2237 }, # XXX Until Oxfordshire does do so
+ # Until Oxfordshire does, and Bristol stops erroring
+ name => { -not_in => [ 'Oxfordshire County Council', 'Bristol City Council' ] },
send_method => 'Open311'
} );
my $verbose = 0;