diff options
author | Don Anderson <dda@ddanderson.com> | 2015-07-13 13:52:16 -0400 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2015-07-13 13:52:16 -0400 |
commit | 97befce992e8fe26e6a8996ea9eecc957056d02b (patch) | |
tree | c41a7e7dffa73c4dd4c4703cd970142507172e75 /lang | |
parent | bf03218d4c49bbe4554dafe580fbbaf70296d1ca (diff) | |
download | mongo-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.py | 3 |
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: |