@@ -408,7 +408,7 @@ def _key_str_objectid(objectid_str, _type):
408
408
if match is not None :
409
409
return _qgroup_objectid (** match .groupdict ())
410
410
else :
411
- raise ValueError ("Unparseable key objectid {} for qgroup type {}" .format (
411
+ raise ValueError ("Unparsable key objectid {} for qgroup type {}" .format (
412
412
objectid_str , _key_type_str (_type )))
413
413
# is it some UUID hex string?
414
414
if objectid_str .startswith ('0x' ):
@@ -417,7 +417,7 @@ def _key_str_objectid(objectid_str, _type):
417
417
except Exception :
418
418
pass
419
419
# otherwise, we don't know
420
- raise ValueError ("Unparseable key objectid {}" .format (objectid_str ))
420
+ raise ValueError ("Unparsable key objectid {}" .format (objectid_str ))
421
421
422
422
423
423
_key_type_str_map = {
@@ -510,7 +510,7 @@ def _key_str_offset(offset_str, _type):
510
510
if match is not None :
511
511
return _qgroup_objectid (** {k : int (v ) for k , v in match .groupdict ().items ()})
512
512
else :
513
- raise ValueError ("Unparseable key offset {} for qgroup type {}" .format (
513
+ raise ValueError ("Unparsable key offset {} for qgroup type {}" .format (
514
514
offset_str , _key_type_str (_type )))
515
515
# is it some UUID hex string?
516
516
if offset_str .startswith ('0x' ):
@@ -519,7 +519,7 @@ def _key_str_offset(offset_str, _type):
519
519
except Exception :
520
520
pass
521
521
# otherwise, we don't know
522
- raise ValueError ("Unparseable key offset {}" .format (offset_str ))
522
+ raise ValueError ("Unparsable key offset {}" .format (offset_str ))
523
523
524
524
525
525
class ItemNotFoundError (IndexError ):
@@ -578,7 +578,7 @@ class Key(object):
578
578
'(-1 255 -1)'
579
579
580
580
The `-1` value in the string representation is just a convenience way to
581
- write the maximum allowed number. The actual value for a 64 bit numer is
581
+ write the maximum allowed number. The actual value for a 64 bit number is
582
582
still 18446744073709551615, and for 8 bit that's 255 of course.
583
583
584
584
For example, when setting up a minimum and maximum key for a metadata
0 commit comments