support disabled

This commit is contained in:
Stephan Kulow 2012-02-13 10:39:57 +01:00
parent 460b511a77
commit f38a21eb46
3 changed files with 3 additions and 3 deletions

View File

@ -294,7 +294,7 @@ if ($report) {
my $prefix = <<END;
Dear openSUSE contributor,
The following status report is a reminder I sent to you in the hope that it
The following status report is a reminder I send to you in the hope that it
proves useful to you. I do not intend to spam you - if you don't want these
reports, please tell me why and I'll either fix the issue or disable the
mail to you.

View File

@ -216,7 +216,7 @@ def _checker_one_request(self, rq, cmd, opts):
prj, pkg,
tprj, tpkg)
dpkg = self._checker_check_devel_package(opts, tprj, tpkg)
self._devel_projects['GNOME:Cinnamon/'] = 'cinnamon'
self._devel_projects['network:messaging:amqp/'] = 'rabbitmq'
if dpkg:
[dprj, dpkg] = dpkg.split('/')
else:

View File

@ -40,7 +40,7 @@ if (-f "$dir/_service") {
my $service = XMLin("$dir/_service", ForceArray => [ 'service' ]);
while( my ($name, $s) = each %{$service->{service}} ) {
my $mode = $s->{mode} || '';
next if ($mode eq "localonly");
next if ($mode eq "localonly" || $mode eq "disabled");
print "Services are only allowed if they are mode='localonly'. Please change the mode of $name and use osc service localrun\n";
exit(1);
}