mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-07 13:54:21 +00:00
[wip] tools: python3
Signed-off-by: Wataru Ishida <ishida@nel-america.com>
This commit is contained in:
@@ -78,7 +78,7 @@ if ops.kl:
|
||||
|
||||
out=sys.stdout
|
||||
if ops.out and ops.out not in ['-', 'stdout']:
|
||||
print ops.out
|
||||
print((ops.out))
|
||||
out = open(ops.out, "w")
|
||||
|
||||
json.dump(g_data, out, indent=ops.indent)
|
||||
|
||||
Reference in New Issue
Block a user