Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7700 - /trunk/libzypp/zypp/ZYppFactory.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Tue, 30 Oct 2007 11:06:09 -0000
  • Message-id: <20071030110610.1A6A4374C6@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Tue Oct 30 12:06:09 2007
New Revision: 7700

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7700&view=rev
Log:
- better exception string with pid

Modified:
trunk/libzypp/zypp/ZYppFactory.cc

Modified: trunk/libzypp/zypp/ZYppFactory.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/ZYppFactory.cc?rev=7700&r1=7699&r2=7700&view=diff
==============================================================================
--- trunk/libzypp/zypp/ZYppFactory.cc (original)
+++ trunk/libzypp/zypp/ZYppFactory.cc Tue Oct 30 12:06:09 2007
@@ -337,8 +337,10 @@
/*--------------------------------------------------*/
if ( globalLock.zyppLocked() )
{
- ZYPP_THROW( ZYppFactoryException(N_("Software management is already
running."),
- globalLock.locker_pid()) );
+ string t = str::form(N_("System management is locked by the application
with pid %d. "
+ "Please close this application before trying
again."),
+ globalLock.locker_pid());
+ ZYPP_THROW(ZYppFactoryException(t, globalLock.locker_pid()));
}
else
{

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

< Previous Next >
This Thread
  • No further messages