conduit r1858 - in trunk: . conduit/modules/BansheeModule



Author: jstowers
Date: Thu Feb 12 03:01:48 2009
New Revision: 1858
URL: http://svn.gnome.org/viewvc/conduit?rev=1858&view=rev

Log:
2009-02-12  John Stowers  <john stowers gmail com>

	* conduit/modules/BansheeModule/BansheeModule.py:
	Fix banshee error when not installed.



Modified:
   trunk/ChangeLog
   trunk/conduit/modules/BansheeModule/BansheeModule.py

Modified: trunk/conduit/modules/BansheeModule/BansheeModule.py
==============================================================================
--- trunk/conduit/modules/BansheeModule/BansheeModule.py	(original)
+++ trunk/conduit/modules/BansheeModule/BansheeModule.py	Thu Feb 12 03:01:48 2009
@@ -24,17 +24,17 @@
 
 from gettext import gettext as _
 
+BANSHEE_INSTALLED = False
+BANSHEE_VERSION_1 = False
+BANSHEE_BASE_LOCATION = ""
+
 if Utils.program_installed("banshee"):
     BANSHEE_INSTALLED = True
-    BANSHEE_VERSION_1 = False
-    BANSHEE_BASE_LOCATION = ""
 elif Utils.program_installed("banshee-1"):
     BANSHEE_INSTALLED = True
     BANSHEE_VERSION_1 = True
     import gconf
     BANSHEE_BASE_LOCATION = "file://%s/" % gconf.Client().get_string( "/apps/banshee-1/library/base_location" )
-else:
-    BANSHEE_INSTALLED = False
 
 if BANSHEE_INSTALLED:
     MODULES = {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]