Merge pull request #43 from ThomasRubini/fix_fedora
[CANDIDATE FOR MERGE] fixed fedora still including forks
This commit is contained in:
commit
0c8b89d268
@ -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