Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54918 - /branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Thu, 22 Jan 2009 16:49:15 -0000
  • Message-id: <E1LQ2jz-0004No-7B@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Thu Jan 22 17:49:14 2009
New Revision: 54918

URL: http://svn.opensuse.org/viewcvs/yast?rev=54918&view=rev
Log:
Use the correct kind of logging, not introduce yet another one
+ human readable code

Modified:
branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc

Modified: branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc?rev=54918&r1=54917&r2=54918&view=diff
==============================================================================
--- branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc (original)
+++ branches/tmp/sh/tabbed-pkg-browsing/qt-pkg/src/YQPkgPatchList.cc Thu Jan 22
17:49:14 2009
@@ -289,11 +289,11 @@

if ( patch )
{
- zypp::Patch::Contents c(patch->contents());
- MIL << c << endl;
+ zypp::Patch::Contents contents(patch->contents());
+ yuiMilestone() << contents << endl;

- for ( zypp::Patch::Contents::Selectable_iterator it =
c.selectableBegin();
- it != c.selectableEnd();
+ for ( zypp::Patch::Contents::Selectable_iterator it =
contents.selectableBegin();
+ it != contents.selectableEnd();
++it )
{
ZyppPkg zyppPkg = tryCastToZyppPkg( (*it)->theObj() );
@@ -305,13 +305,12 @@
}
else
{
- MIL << "patch is bogus" << endl;
-
+ yuiMilestone() << "patch is bogus" << endl;
}

}
else
- WAR << "selection empty" << endl;
+ yuiWarning() << "selection empty" << endl;

emit filterFinished();
}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages