mirror of
https://github.com/ceph/ceph
synced 2024-12-30 07:23:11 +00:00
Merge pull request #35279 from badone/wip-py2-fix-osd-scrub-repair.sh
qa/*/osd-scrub-repair.sh: Convert to python3 print syntax Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
b8f632327f
@ -45,7 +45,7 @@ walk(if type == "object" then del(.mtime) else . end)
|
||||
| walk(if type == "object" then del(.version) else . end)
|
||||
| walk(if type == "object" then del(.prior_version) else . end)'
|
||||
|
||||
sortkeys='import json; import sys ; JSON=sys.stdin.read() ; ud = json.loads(JSON) ; print json.dumps(ud, sort_keys=True, indent=2)'
|
||||
sortkeys='import json; import sys ; JSON=sys.stdin.read() ; ud = json.loads(JSON) ; print(json.dumps(ud, sort_keys=True, indent=2))'
|
||||
|
||||
function run() {
|
||||
local dir=$1
|
||||
|
Loading…
Reference in New Issue
Block a user