Skip to content

Commit 390a9fa

Browse files
committed
Use dev branch of go-inspector #3967
* Update ChefMetadataFormatter Signed-off-by: Jono Yang <[email protected]>
1 parent 42cb443 commit 390a9fa

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

requirements-linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
packagedcode-msitools==0.101.210706
22
regipy==3.1.0
33
rpm-inspector-rpm==4.16.1.3.210404
4-
go-inspector==0.3.1
4+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300

setup-mini.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ packages =
149149
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
150150
regipy >= 3.1.0; platform_system == 'Linux'
151151
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
152-
go-inspector >= 0.3.1; platform_system == 'Linux'
152+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300
153153

154154
# use 7zip, libarchive, and libmagic provided on the system
155155
system_provided =

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ install_requires =
111111
xmltodict >= 0.11.0
112112
zipp >= 3.0.0; python_version < "3.9"
113113
typecode >= 30.0.1
114-
typecode[full] >= 30.0.1
115-
extractcode[full] >= 31.0.0
114+
# typecode[full] >= 30.0.1
115+
# extractcode[full] >= 31.0.0
116116

117117

118118
[options.packages.find]
@@ -149,7 +149,7 @@ packages =
149149
rpm_inspector_rpm >= 4.16.1.3; platform_system == 'Linux'
150150
regipy >= 3.1.0; platform_system == 'Linux'
151151
packagedcode_msitools >= 0.101.210706; platform_system == 'Linux'
152-
go-inspector >= 0.3.1; platform_system == 'Linux'
152+
go-inspector @ git+https://github.com/aboutcode-org/go-inspector.git@11aa87e09ce5fe3f9181ddf209443af283f50300
153153

154154
# use 7zip, libarchive, and libmagic provided on the system
155155
system_provided =

src/packagedcode/chef.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def format(self, tokens, outfile):
114114
value = value[1:-1]
115115
line.append(value)
116116

117-
if ttype in (Token.Text,) and value.endswith('\n') and line:
117+
if ttype in (Token.Text, Token.Text.Whitespace) and value.endswith('\n') and line:
118118
# The field name should be the first element in the list
119119
key = line.pop(0)
120120
# Join all tokens as a single string

0 commit comments

Comments
 (0)