summaryrefslogtreecommitdiff
path: root/examples/elementtree/pickle.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-01-02 14:23:42 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2011-01-02 14:23:42 -0500
commit350aed3fdb9f1e73e69655e53f44ca6a91c196da (patch)
tree3d2a128667b5f6ca6d0b4e1f4865fc98aac6b60b /examples/elementtree/pickle.py
parent71f92436bdc86f30e2c21d8f5244733601e8c39e (diff)
downloadsqlalchemy-350aed3fdb9f1e73e69655e53f44ca6a91c196da.tar.gz
- whitespace removal bonanza
Diffstat (limited to 'examples/elementtree/pickle.py')
-rw-r--r--examples/elementtree/pickle.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/elementtree/pickle.py b/examples/elementtree/pickle.py
index 5e53e6798..28bee4672 100644
--- a/examples/elementtree/pickle.py
+++ b/examples/elementtree/pickle.py
@@ -22,7 +22,7 @@ meta = MetaData()
def are_elements_equal(x, y):
return x == y
-# stores a top level record of an XML document.
+# stores a top level record of an XML document.
# the "element" column will store the ElementTree document as a BLOB.
documents = Table('documents', meta,
Column('document_id', Integer, primary_key=True),
@@ -33,7 +33,7 @@ documents = Table('documents', meta,
meta.create_all(e)
# our document class. contains a string name,
-# and the ElementTree root element.
+# and the ElementTree root element.
class Document(object):
def __init__(self, name, element):
self.filename = name
@@ -47,7 +47,7 @@ mapper(Document, documents)
# get ElementTree document
filename = os.path.join(os.path.dirname(__file__), "test.xml")
doc = ElementTree.parse(filename)
-
+
# save to DB
session = Session(e)
session.add(Document("test.xml", doc))