Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4ab7be77c59c12e1b2fad4bdba6d7719 > files > 1

childsplay-0.90.1-4mdv2009.0.src.rpm

--- childsplay-0.81.8/CPConstants.py~	2006-05-05 10:56:38.000000000 +0200
+++ childsplay-0.81.8/CPConstants.py	2006-05-05 10:56:38.000000000 +0200
@@ -21,7 +21,6 @@
 MODULESDATADIR = BASEPATH.SHARELIBDATADIR
 LOCALEDIR = BASEPATH.LOCALEDIR
 ASSETMLROOT = BASEPATH.ASSETMLDIR
-SCOREFILE = BASEPATH.SCOREFILE
 CHILDSPLAYRC = BASEPATH.CHILDSPLAYRC
 LIBDIR = BASEPATH.LIBDIR
 MODULES = BASEPATH.MODULESDIR
@@ -43,6 +42,9 @@
     except KeyError,info:
         print info
         HOMEDIR = os.path.abspath(sys.path[0])
+
+# no sgid support for python, so drop the scorefile in the homedir
+SCOREFILE = os.path.join(HOMEDIR, 'childsplay.score')
         
 # this is the directory tree in HOME_DIR_NAME.
 # Names seperated by commas are the names from which directories are created