fixed fedora still including forks
This commit is contained in:
parent
f18c66f477
commit
4adc8e68c7
@ -126,7 +126,7 @@ public class FedoraDistribution extends AsyncRequestsParser implements Distribut
|
|||||||
String name = searchResultJson.getString("name");
|
String name = searchResultJson.getString("name");
|
||||||
|
|
||||||
// do not include fork projects in the list
|
// do not include fork projects in the list
|
||||||
if (!name.startsWith("fork/")) {
|
if (!searchResultJson.getString("fullname").startsWith("fork/")) {
|
||||||
|
|
||||||
// add package into to list
|
// add package into to list
|
||||||
searchedPackagesList.add(new SearchedPackage(
|
searchedPackagesList.add(new SearchedPackage(
|
||||||
|
Loading…
Reference in New Issue
Block a user