summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-04 17:50:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-04 17:50:26 +0000
commit2069657bd11a5d047c883c141dfa28e39d983a65 (patch)
tree30f0ce93690123eff95810f72c511dbceb6021cd
parentFix client compile with clang (diff)
downloadgentoobrowse-api-0.11.2.tar.bz2
gentoobrowse-api-0.11.2.tar.xz
gentoobrowse-api-0.11.2.zip
Import only English newsgentoobrowse-api-0.11.2
-rw-r--r--gentoobrowse-api/service/maintenance/newsProcessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse-api/service/maintenance/newsProcessor.cpp b/gentoobrowse-api/service/maintenance/newsProcessor.cpp
index 9f5cb55..8a67c3e 100644
--- a/gentoobrowse-api/service/maintenance/newsProcessor.cpp
+++ b/gentoobrowse-api/service/maintenance/newsProcessor.cpp
@@ -24,7 +24,7 @@ namespace Gentoo {
NewsProcessor::match(const PathParts & pp) const
{
return (pp.size() == 4 && pp[0] == "metadata" && pp[1] == "news"
- && boost::algorithm::ends_with(pp[3], ".txt"));
+ && boost::algorithm::ends_with(pp[3], ".en.txt"));
}
void