[SCM] Development for GoFind! branch, master, updated. bc8cb24479e127ef2dd1ec2cecff3fc8e561f557

Miriam Ruiz miriam at debian.org
Wed May 6 20:35:00 UTC 2009


The following commit has been merged in the master branch:
commit bc8cb24479e127ef2dd1ec2cecff3fc8e561f557
Author: Miriam Ruiz <miriam at debian.org>
Date:   Wed May 6 22:37:36 2009 +0200

    Removed debug messages

diff --git a/pkgdata.cpp b/pkgdata.cpp
index e00d234..945c9e9 100644
--- a/pkgdata.cpp
+++ b/pkgdata.cpp
@@ -110,7 +110,6 @@ void PackageData::AddTextAsHTML(const std::string &in_text, std::string &out_htm
 	utf8::html::QuoteHTML(os, in_text.c_str());
 	os << std::ends;
 	os.flush();
-	std::cout << os.str() << std::endl;
 	const std::string & tempString(os.str());
 	const char *text = tempString.c_str();
 
@@ -205,9 +204,9 @@ bool PackageData::GetPkgHTMLDesc(const std::string &pkgname, std::string &html_s
 	if (!apt_helper->GetPackageInfo(pkgname, &info))
 		return false;
 
-	std::cout << "Description"
-		<< ( (strcmp(info.LanguageCode.c_str(),"") != 0) ? "-" : "" ) << info.LanguageCode
-		<< ": " << info.ShortDescription << std::endl << info.LongDescription << std::endl;
+//	std::cout << "Description"
+//		<< ( (strcmp(info.LanguageCode.c_str(),"") != 0) ? "-" : "" ) << info.LanguageCode
+//		<< ": " << info.ShortDescription << std::endl << info.LongDescription << std::endl;
 
 	html_short.erase();
 	AddTextAsHTML(info.ShortDescription, html_short);

-- 
Development for GoFind!



More information about the Pkg-games-commits mailing list