From: Digital X. <dig...@us...> - 2007-05-06 16:43:07
|
Update of /cvsroot/openrpg/openrpg1/orpg/tools In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32600/orpg/tools Modified Files: aliaslib.py metamenus.py orpg_log.py orpg_sound.py predTextCtrl.py validate.py Log Message: Reconvert every file to unix line ending. This is the 3rd time I have done this, and no clue why they get switched back Index: orpg_sound.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/orpg_sound.py,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** orpg_sound.py 16 Mar 2007 18:20:51 -0000 1.29 --- orpg_sound.py 6 May 2007 16:43:03 -0000 1.30 *************** *** 216,218 **** if __name__ == "__main__": app = BlankApp(0) ! app.MainLoop() \ No newline at end of file --- 216,218 ---- if __name__ == "__main__": app = BlankApp(0) ! app.MainLoop() Index: predTextCtrl.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/predTextCtrl.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** predTextCtrl.py 2 Nov 2006 23:42:44 -0000 1.9 --- predTextCtrl.py 6 May 2007 16:43:03 -0000 1.10 *************** *** 595,597 **** return ! # End of class predTextCtrl! \ No newline at end of file --- 595,597 ---- return ! # End of class predTextCtrl! Index: orpg_log.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/orpg_log.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** orpg_log.py 12 Nov 2006 00:10:38 -0000 1.8 --- orpg_log.py 6 May 2007 16:43:02 -0000 1.9 *************** *** 60,62 **** def getLogToConsol(self): ! return self.logToConsol \ No newline at end of file --- 60,62 ---- def getLogToConsol(self): ! return self.logToConsol Index: metamenus.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/metamenus.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** metamenus.py 3 Apr 2007 00:14:35 -0000 1.5 --- metamenus.py 6 May 2007 16:43:02 -0000 1.6 *************** *** 1416,1418 **** # ## ! ### eof \ No newline at end of file --- 1416,1418 ---- # ## ! ### eof Index: validate.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/validate.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** validate.py 18 Oct 2006 21:50:20 -0000 1.3 --- validate.py 6 May 2007 16:43:03 -0000 1.4 *************** *** 1,32 **** ! # file: config_files.py ! # ! # Author: Todd Faris (Snowdog) ! # Date: 5/10/2005 ! # ! # Misc. config file service methods ! # ! ! import orpg.dirpath ! import os ! ! class Validate: ! def config_file(self, user_file, template_file): ! #STEP 1: verify the template exists ! if (not os.path.exists(orpg.dirpath.dir_struct["template"] + template_file)): ! return 0 ! ! #STEP 2: verify the user file exists. If it doesn't then create it from template ! if (not os.path.exists(orpg.dirpath.dir_struct["user"]+user_file)): ! default = open(orpg.dirpath.dir_struct["template"] + template_file,"r") ! file = default.read() ! newfile = open(orpg.dirpath.dir_struct["user"] + user_file,"w") ! newfile.write(file) ! default.close() ! newfile.close() ! return 2 #returning 2 (True) so calling method will know if file was created ! ! #STEP 3: user file exists (is openable) return 1 indicating no-create operation required ! else: return 1 ! ! def ini_entry(self, entry_name, ini_file): ! pass --- 1,32 ---- ! # file: config_files.py ! # ! # Author: Todd Faris (Snowdog) ! # Date: 5/10/2005 ! # ! # Misc. config file service methods ! # ! ! import orpg.dirpath ! import os ! ! class Validate: ! def config_file(self, user_file, template_file): ! #STEP 1: verify the template exists ! if (not os.path.exists(orpg.dirpath.dir_struct["template"] + template_file)): ! return 0 ! ! #STEP 2: verify the user file exists. If it doesn't then create it from template ! if (not os.path.exists(orpg.dirpath.dir_struct["user"]+user_file)): ! default = open(orpg.dirpath.dir_struct["template"] + template_file,"r") ! file = default.read() ! newfile = open(orpg.dirpath.dir_struct["user"] + user_file,"w") ! newfile.write(file) ! default.close() ! newfile.close() ! return 2 #returning 2 (True) so calling method will know if file was created ! ! #STEP 3: user file exists (is openable) return 1 indicating no-create operation required ! else: return 1 ! ! def ini_entry(self, entry_name, ini_file): ! pass Index: aliaslib.py =================================================================== RCS file: /cvsroot/openrpg/openrpg1/orpg/tools/aliaslib.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** aliaslib.py 27 Feb 2007 03:08:07 -0000 1.17 --- aliaslib.py 6 May 2007 16:43:02 -0000 1.18 *************** *** 1198,1200 **** if __name__ == "__main__": app = BlankApp(0) ! app.MainLoop() \ No newline at end of file --- 1198,1200 ---- if __name__ == "__main__": app = BlankApp(0) ! app.MainLoop() |