[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Feb 2 18:51:39 UTC 2009


The following commit has been merged in the master branch:
commit bf16e8d6f660a0d7a0b6fd568c2e681dc477fa92
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Wed Dec 17 18:06:23 2008 +0100

    odeviced: kernel26: Don't dump exception if we can't register to the netlink object (multiple times)
    It might have been successful the first time. This code will be changed soon anyways, we're going
    to introduce a kobject multiplexer in the framework services.

diff --git a/framework/subsystems/odeviced/kernel26.py b/framework/subsystems/odeviced/kernel26.py
index cbe1265..7de0925 100644
--- a/framework/subsystems/odeviced/kernel26.py
+++ b/framework/subsystems/odeviced/kernel26.py
@@ -8,7 +8,7 @@ GPLv2 or later
 """
 
 MODULE_NAME = "odeviced.kernel26"
-__version__ = "0.9.9.0"
+__version__ = "0.9.9.1"
 
 from helpers import DBUS_INTERFACE_PREFIX, DBUS_PATH_PREFIX, readFromFile, writeToFile, cleanObjectName
 from framework.config import config
@@ -212,8 +212,9 @@ class PowerSupply( dbus.service.Object ):
         try:
             s.bind( ( os.getpid(), 1 ) )
         except socket.error, e:
-            logger.exception( "Could not bind to netlink kobject. Power supply reporting will not work." )
+            logger.warning( "Could not bind to netlink object. Power supply reporting might not work." )
         else:
+            logger.info( "Successfully bound to netlink object." )
             self.ueventsockWatch = gobject.io_add_watch( s.fileno(), gobject.IO_IN, self.onUeventActivity )
         capacityCheckTimeout = config.getInt( MODULE_NAME, "capacity_check_timeout", 60*5 )
         self.capacityWatch = gobject.timeout_add_seconds( capacityCheckTimeout, self.onCapacityCheck )

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list