adopt to reality

This commit is contained in:
Stephan Kulow 2013-04-15 20:09:25 +02:00
parent decfe3dd57
commit 02fa6a5ae7
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ sub fetch_user_infos($)
my $ua = LWP::UserAgent->new;
$ua->timeout(15);
$ua->default_header("Accept" => "application/json");
my $mywork = $ua->get("https://build.opensuse.org/stage/home/my_work?user=$user");
my $mywork = $ua->get("https://build.opensuse.org/home/requests?user=$user");
unless ($mywork->is_success) { die $mywork->status_line; }
$mywork = from_json( $mywork->decoded_content, { utf8 => 1 });

View File

@ -247,7 +247,8 @@ def _check_repo_one_request(self, rq, cmd, opts):
shutil.rmtree(opts.destdir)
if ret:
print ret, "OUT", output
print output
self._check_repo_change_review_state(opts, id, 'new', message=output)
continue
msg="Builds for repo %s" % goodrepo.attrib['name']