File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
77[project ]
88name = " socketsecurity"
9- version = " 2.1.1 "
9+ version = " 2.1.2 "
1010requires-python = " >= 3.10"
1111license = {"file" = " LICENSE" }
1212dependencies = [
Original file line number Diff line number Diff line change 11__author__ = 'socket.dev'
2- __version__ = '2.1.1 '
2+ __version__ = '2.1.2 '
Original file line number Diff line number Diff line change 1515from socketdev .org import Organization
1616from socketdev .repos import RepositoryInfo
1717from socketdev .settings import SecurityPolicyRule
18-
18+ import copy
1919from socketsecurity import __version__
2020from socketsecurity .core .classes import (
2121 Alert ,
@@ -628,10 +628,8 @@ def create_new_diff(
628628 head_full_scan_id = None
629629
630630 if head_full_scan_id is None :
631- new_params = {}
632- for key , value in params .__dict__ .items ():
633- if key != 'include_license_details' :
634- new_params [key ] = value
631+ new_params = copy .deepcopy (params .__dict__ )
632+ new_params .pop ('include_license_details' )
635633 tmp_params = FullScanParams (** new_params )
636634 tmp_params .include_license_details = params .include_license_details
637635 tmp_params .tmp = True
You can’t perform that action at this time.
0 commit comments