adopt to reality
This commit is contained in:
parent
decfe3dd57
commit
02fa6a5ae7
@ -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 });
|
||||
|
@ -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']
|
||||
|
Loading…
x
Reference in New Issue
Block a user