summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRobert <rw@users.noreply.github.com>2018-07-23 16:29:45 -0700
committerWouter van Oortmerssen <aardappel@gmail.com>2018-07-23 16:29:45 -0700
commite1d5fda5d449629d1a6bbd6145bf3cca648ea273 (patch)
treee4fee63e87f5dc66a6cd9876e990171067b4cf4b /python
parenta2603ec27ed540273a1d075c1576952fe299cc3b (diff)
downloadflatbuffers-e1d5fda5d449629d1a6bbd6145bf3cca648ea273.tar.gz
flatbuffers-e1d5fda5d449629d1a6bbd6145bf3cca648ea273.tar.bz2
flatbuffers-e1d5fda5d449629d1a6bbd6145bf3cca648ea273.zip
python: do not clobber minalign when we create objects (#4833)
Diffstat (limited to 'python')
-rw-r--r--python/flatbuffers/builder.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/flatbuffers/builder.py b/python/flatbuffers/builder.py
index dea77ebf..09044575 100644
--- a/python/flatbuffers/builder.py
+++ b/python/flatbuffers/builder.py
@@ -160,7 +160,6 @@ class Builder(object):
# use 32-bit offsets so that arithmetic doesn't overflow.
self.current_vtable = [0 for _ in range_func(numfields)]
self.objectEnd = self.Offset()
- self.minalign = 1
self.nested = True
def WriteVtable(self):