From: Kevin A. <ka...@us...> - 2004-05-10 00:45:33
|
Update of /cvsroot/pythoncard/PythonCard/samples/webserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16543/samples/webserver Modified Files: webserver.py Log Message: removed Stack class, changed self.stack.app references to self.application changed childWindow, Background, and CustomDialog inits so stack arg isn't passed in. only did minimal testing of tools and samples Index: webserver.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/webserver/webserver.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** webserver.py 5 May 2004 16:53:49 -0000 1.23 --- webserver.py 10 May 2004 00:45:23 -0000 1.24 *************** *** 452,456 **** os.mkdir(self.configPath) configPath = os.path.join(self.configPath, CONFIG_FILE) ! defaultPath = os.path.join(self.stack.app.applicationDirectory, CONFIG_FILE) if not os.path.exists(configPath): shutil.copy2(defaultPath, configPath) --- 452,456 ---- os.mkdir(self.configPath) configPath = os.path.join(self.configPath, CONFIG_FILE) ! defaultPath = os.path.join(self.application.applicationDirectory, CONFIG_FILE) if not os.path.exists(configPath): shutil.copy2(defaultPath, configPath) |