summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2015-07-13 13:52:16 -0400
committerDon Anderson <dda@ddanderson.com>2015-07-13 13:52:16 -0400
commit97befce992e8fe26e6a8996ea9eecc957056d02b (patch)
treec41a7e7dffa73c4dd4c4703cd970142507172e75 /lang
parentbf03218d4c49bbe4554dafe580fbbaf70296d1ca (diff)
downloadmongo-97befce992e8fe26e6a8996ea9eecc957056d02b.tar.gz
WT-1985. Fixed a comment about 'U' unpacking so there is no confusion.
Diffstat (limited to 'lang')
-rw-r--r--lang/python/wiredtiger/packing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/wiredtiger/packing.py b/lang/python/wiredtiger/packing.py
index bda5820a543..b0e055490b0 100644
--- a/lang/python/wiredtiger/packing.py
+++ b/lang/python/wiredtiger/packing.py
@@ -97,7 +97,8 @@ def unpack(fmt, s):
size = len(s)
else:
# Note: 'U' is used internally, and may be exposed to us.
- # It indicates that the size is always stored.
+ # It indicates that the size is always stored unless there
+ # is a size in the format.
size, s = unpack_int(s)
result.append(s[:size])
if f == 'S' and not havesize: