diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-30 17:44:35 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-30 17:44:35 +0000 |
commit | 6c89138199e041b2bb53a265654179bab638deb4 (patch) | |
tree | 925ec63a79945ac5433e5e1a7fe6cd2f75d7b279 /doc/build/testdocs.py | |
parent | 44e0907c2b7c56f6165fbee144756a8ffb48f0ae (diff) | |
download | sqlalchemy-6c89138199e041b2bb53a265654179bab638deb4.tar.gz |
docs in progress, new ORM tutorial
Diffstat (limited to 'doc/build/testdocs.py')
-rw-r--r-- | doc/build/testdocs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/build/testdocs.py b/doc/build/testdocs.py index e93c4c579..04a825ee8 100644 --- a/doc/build/testdocs.py +++ b/doc/build/testdocs.py @@ -62,8 +62,9 @@ def replace_file(s, newfile): raise ValueError("Couldn't find suitable create_engine call to replace '%s' in it" % oldfile)
return s
-filename = 'content/tutorial.txt'
+filename = 'content/datamapping.txt'
s = open(filename).read()
-s = replace_file(s, ':memory:')
+#s = replace_file(s, ':memory:')
+s = re.sub(r'{(?:stop|sql)}', '', s)
teststring(s, filename)
|