diff options
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: |