cpack_repository/commit
Ignore all errors when sorting clone data
author | Jan Wielemaker |
---|---|
Thu Apr 28 21:30:25 2011 +0200 | |
committer | Jan Wielemaker |
Thu Apr 28 21:30:25 2011 +0200 | |
commit | c4aa5989369597f2477ffd7fc26cc2a7804c228c |
tree | f265820e7438d28b0053f42a5bb970e83f577137 |
parent | 9c89ff99163a943656a1a0f374fb9c5a2bdc69ee |
Diff style: patch stat
diff --git a/api/cpack.pl b/api/cpack.pl index c0bd6c0..9b17351 100644 --- a/api/cpack.pl +++ b/api/cpack.pl @@ -213,7 +213,7 @@ file_option(URI, size(Bytes)) :- cpack_clone_data(_Request) :- findall(Pack, rdfs_individual_of(Pack, cpack:'Package'), Packs0), - ( catch(cpack_list(Packs0, Packs), error(domain_error(_,_),_), fail) + ( catch(cpack_list(Packs0, Packs), _, fail) -> true ; Packs = Packs0 ),