Skip to content

Commit

Permalink
Bumped version to 1.0.1.post1
Browse files Browse the repository at this point in the history
Updated vendor constant enumerations at Wed May 17 10:04:55 UTC 2023. The following files
have been changed: pcapkit/const/ipv4/classification_level.py pcapkit/const/mh/status_code.py pcapkit/const/pcapng/record_type.py pcapkit/const/pcapng/secrets_type.py
  • Loading branch information
github-actions[bot] committed May 17, 2023
1 parent bce1111 commit a89b5b4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion pcapkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@
]

#: version number
__version__ = '1.0.1'
__version__ = '1.0.1.post1'
1 change: 0 additions & 1 deletion pcapkit/const/ipv4/classification_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ def _missing_(cls, value: 'int') -> 'ClassificationLevel':
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
temp = bin(value)[2:].upper().zfill(8)
return extend_enum(cls, 'Unassigned_0b%s' % (temp[:4]+'_'+temp[4:]), value)
return super()._missing_(value)
1 change: 0 additions & 1 deletion pcapkit/const/mh/status_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ def _missing_(cls, value: 'int') -> 'StatusCode':
return extend_enum(cls, 'Unassigned_%d' % value, value)
#: Unspecified in the IANA registry
return extend_enum(cls, 'Unassigned_%d' % value, value)
return super()._missing_(value)
1 change: 0 additions & 1 deletion pcapkit/const/pcapng/record_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ def _missing_(cls, value: 'int') -> 'RecordType':
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
extend_enum(cls, 'Unassigned_0x%04x' % value, value)
return cls(value)
return super()._missing_(value)
1 change: 0 additions & 1 deletion pcapkit/const/pcapng/secrets_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ def _missing_(cls, value: 'int') -> 'SecretsType':
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
extend_enum(cls, 'Unassigned_0x%08x' % value, value)
return cls(value)
return super()._missing_(value)

0 comments on commit a89b5b4

Please sign in to comment.