Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
103
Merge Requests
103
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
93e71222
Commit
93e71222
authored
Dec 29, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
60c17c2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
format-json
format-json
+1
-1
slapos/test/test_json_schema.py
slapos/test/test_json_schema.py
+1
-0
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+1
-1
No files found.
format-json
View file @
93e71222
...
...
@@ -28,7 +28,7 @@ def main():
print
(
e
,
file
=
sys
.
stderr
)
else
:
with
open
(
f
,
'w'
)
as
outfile
:
json
.
dump
(
obj
,
outfile
,
sort_keys
=
False
,
indent
=
2
,
separators
=
(
','
,
': '
))
json
.
dump
(
obj
,
outfile
,
ensure_ascii
=
False
,
sort_keys
=
False
,
indent
=
2
,
separators
=
(
','
,
': '
))
outfile
.
write
(
'
\
n
'
)
sys
.
exit
(
exit_code
)
...
...
slapos/test/test_json_schema.py
View file @
93e71222
...
...
@@ -85,6 +85,7 @@ def createFormatTest(path):
self
.
assertEqual
(
(
json
.
dumps
(
json
.
loads
(
content
,
object_pairs_hook
=
collections
.
OrderedDict
),
ensure_ascii
=
False
,
sort_keys
=
False
,
indent
=
2
,
separators
=
(
','
,
': '
))
+
"
\
n
"
).
splitlines
(),
...
...
software/ors-amarisoft/buildout.hash.cfg
View file @
93e71222
...
...
@@ -24,7 +24,7 @@ md5sum = f5c76c3443b75569eb18503dce38e783
[slaplte.jinja2]
_update_hash_filename_ = slaplte.jinja2
md5sum =
b7b47539d7f8680a1d0ce40eb006fc23
md5sum =
2aaea73830039fb5838f029b0c42f8fd
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment