Skip to content

Commit

Permalink
Backport fix from issue #3152
Browse files Browse the repository at this point in the history
Signed-off-by: Jono Yang <[email protected]>
  • Loading branch information
JonoYang committed Nov 21, 2022
1 parent 8171615 commit 9294e67
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion src/packagedcode/maven.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def get_dependencies(pom):
if dversion == 'latest.release':
dversion = None

is_resolved = dversion and not any(c in dversion for c in '$[,]')
is_resolved = bool(dversion and not any(c in dversion for c in '$[,]'))

dqualifiers = {}
# FIXME: this is missing from the original Pom parser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -46,7 +46,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -56,7 +56,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -66,7 +66,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -76,7 +76,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -86,7 +86,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -96,7 +96,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -106,7 +106,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -116,7 +116,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -126,7 +126,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -136,7 +136,7 @@
"scope": "test",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -75,7 +75,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -53,7 +53,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -63,7 +63,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -73,7 +73,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -83,7 +83,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -46,7 +46,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -56,7 +56,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -66,7 +66,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -76,7 +76,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand All @@ -86,7 +86,7 @@
"scope": "compile",
"is_runtime": false,
"is_optional": true,
"is_resolved": null,
"is_resolved": false,
"resolved_package": {},
"extra_data": {}
},
Expand Down
Loading

0 comments on commit 9294e67

Please sign in to comment.