Committer: gariev
LJSUP-7934: Supernaintainer: update the scriptAdding communitites 'cheaptrip_ua' and 'cheaptrip_spb' to ignore list
U trunk/bin/misc/set_comm_supermaintainer.pl
Modified: trunk/bin/misc/set_comm_supermaintainer.pl =================================================================== --- trunk/bin/misc/set_comm_supermaintainer.pl 2011-02-15 09:59:40 UTC (rev 18305) +++ trunk/bin/misc/set_comm_supermaintainer.pl 2011-02-15 10:07:08 UTC (rev 18306) @@ -16,8 +16,6 @@ STDOUT->autoflush(1); STDERR->autoflush(1); - - my $help = <<"HELP"; This script set the supermaintainer role for all or selected communities. If no supermaintainer can be set, then poll is created for the community. @@ -103,8 +101,14 @@ _log "Error while loading community (Id: $c_id)\n"; next; } - next if $comm->{user} eq 'cheaptrip'; + if ( $comm->{user} eq 'cheaptrip' || + $comm->{user} eq 'cheaptrip_spb' || + $comm->{user} eq 'cheaptrip_ua') + { + next; ## these communities don't participate in voting + } + _log "Start work with community '$comm->{'user'}'\n"; ## skip if community has supermaintainer already