Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41454 - /branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc
  • From: gs@xxxxxxxxxxxxxxxx
  • Date: Thu, 18 Oct 2007 09:56:09 -0000
  • Message-id: <20071018095610.0ADFB26622@xxxxxxxxxxxxxxxx>
Author: gs
Date: Thu Oct 18 11:56:09 2007
New Revision: 41454

URL: http://svn.opensuse.org/viewcvs/yast?rev=41454&view=rev
Log:
add debug info and check pointer

Modified:
    branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc

Modified: branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc?rev=41454&r1=41453&r2=41454&view=diff
==============================================================================
--- branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc (original)
+++ branches/tmp/sh/mod-ui/ncurses/src/NCPkgTable.cc Thu Oct 18 11:56:09 2007
@@ -431,6 +431,12 @@
 //
 bool NCPkgTable::fillDefaultList( )
 {
+    if ( !packager &&
+       packager->getDefaultRpmGroup() )
+    {
+       NCERR << "No package selector existing" << endl;
+       return false;
+    }
     switch ( tableType )
     {
        case T_Patches: {
@@ -463,6 +469,7 @@
 
            if ( defaultGroup )
            {
+               NCMIL << "default RPM group: " << defaultGroup->value().translation() << endl;
                packager->fillPackageList ( YCPString( defaultGroup->value().translation()),
                                            defaultGroup );
                

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

< Previous Next >
This Thread
  • No further messages