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"
6
6
7
7
[project ]
8
8
name = " socketsecurity"
9
- version = " 2.1.1 "
9
+ version = " 2.1.2 "
10
10
requires-python = " >= 3.10"
11
11
license = {"file" = " LICENSE" }
12
12
dependencies = [
Original file line number Diff line number Diff line change 1
1
__author__ = 'socket.dev'
2
- __version__ = '2.1.1 '
2
+ __version__ = '2.1.2 '
Original file line number Diff line number Diff line change 15
15
from socketdev .org import Organization
16
16
from socketdev .repos import RepositoryInfo
17
17
from socketdev .settings import SecurityPolicyRule
18
-
18
+ import copy
19
19
from socketsecurity import __version__
20
20
from socketsecurity .core .classes import (
21
21
Alert ,
@@ -628,10 +628,8 @@ def create_new_diff(
628
628
head_full_scan_id = None
629
629
630
630
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' )
635
633
tmp_params = FullScanParams (** new_params )
636
634
tmp_params .include_license_details = params .include_license_details
637
635
tmp_params .tmp = True
You can’t perform that action at this time.
0 commit comments