[Dev OpenGP] [142] sjdkqs?\197?\147:x

[ Thread Index | Date Index | More opengp.tuxfamily.org/development Archives ]


Revision: 142
Author:   nicolaf
Date:     2009-03-27 04:41:23 +0100 (Fri, 27 Mar 2009)

Log Message:
-----------
sjdkqs?\197?\147:x

Modified Paths:
--------------
    trunk/src/lib/ogp/plugins/motd/motd.py


Modified: trunk/src/lib/ogp/plugins/motd/motd.py
===================================================================
--- trunk/src/lib/ogp/plugins/motd/motd.py	2009-03-27 03:38:56 UTC (rev 141)
+++ trunk/src/lib/ogp/plugins/motd/motd.py	2009-03-27 03:41:23 UTC (rev 142)
@@ -71,7 +71,7 @@
 		logging.debug('Motd.installConf()')
 		logging.info('Motd: installing conf.')
 		motd = str(self.pullFile('motd', True))
-		dist_e = self.currentConf.xpath(self.__conf_xpath)
+		dist_e = self.currentConf.xpath(self.__conf_xpath + '/conf')
 		if len(dist_e) != 0:
 			distro = dist_e[0].text
 		else:


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/