Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
diffoscope
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
diffoscope
Commits
0c124437
"debian/patches/openssl3" did not exist on "master"
Commit
0c124437
authored
3 years ago
by
Zbigniew Jędrzejewski-Szmek
Browse files
Options
Downloads
Patches
Plain Diff
Fix json detection with file-5.41-3.fc36.x86_64
It now says "JSON text data", not just "JSON data".
parent
88643fab
No related branches found
No related tags found
1 merge request
!100
Fix json detection with file-5.41-3.fc36.x86_64
Pipeline
#339374
passed
3 years ago
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
diffoscope/comparators/json.py
+1
-1
1 addition, 1 deletion
diffoscope/comparators/json.py
with
1 addition
and
1 deletion
diffoscope/comparators/json.py
+
1
−
1
View file @
0c124437
...
...
@@ -38,7 +38,7 @@ except ImportError: # noqa
class
JSONFile
(
File
):
DESCRIPTION
=
"
JSON files
"
FILE_TYPE_RE
=
re
.
compile
(
r
"
^JSON data
"
)
# Requires file 5.35+
FILE_TYPE_RE
=
re
.
compile
(
r
"
^JSON
(?:text )?
data
"
)
# Requires file 5.35+
@classmethod
def
recognizes
(
cls
,
file
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment