[Pyple-commits] SF.net SVN: pyple: [18] src/pyple.py
Status: Pre-Alpha
Brought to you by:
anseljh
From: <an...@us...> - 2007-03-16 16:11:07
|
Revision: 18 http://svn.sourceforge.net/pyple/?rev=18&view=rev Author: anseljh Date: 2007-03-16 09:07:30 -0700 (Fri, 16 Mar 2007) Log Message: ----------- updated some comments; include sample YAML Modified Paths: -------------- src/pyple.py Modified: src/pyple.py =================================================================== --- src/pyple.py 2007-03-16 04:23:24 UTC (rev 17) +++ src/pyple.py 2007-03-16 16:07:30 UTC (rev 18) @@ -34,7 +34,9 @@ * You can run this file to do some simple testing: python pyple.py * The tests depend on PyYAML, and expect a YAML file called 'pyple-db.yaml' with database connection parameters. (try 'easy_install pyyaml') You - do NOT need PyYAML to import PyPLE. + do NOT need PyYAML to import PyPLE. Here is a sample one-line YAML + configuration file: + {database: pyple, dbtype: mysql, host: localhost, password: xyzzy, port: 3306, username: pyple} * Special thanks to Stanford Law School for allowing me to continue work on PyPLE in 2007! @@ -157,7 +159,7 @@ else: return True -PYPLE_TABLES = [Operator, AlwaysTrueOp, AlwaysFalseOp, Regex, AND, OR, NOT, XOR, NAND] +PYPLE_TABLES = [Operator, AlwaysTrueOp, AlwaysFalseOp, Regex, AND, OR, NOT, XOR, NAND] # Used by Engine to rebuild tables class Engine: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |