1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 15:49:15 +00:00

fix pylint W0101

This commit is contained in:
deadc0de6
2024-06-27 09:25:11 +02:00
parent c56762a4df
commit 550fa227f0

View File

@@ -11,7 +11,7 @@ usage example:
""" """
import os import os
import io import sys
from docopt import docopt from docopt import docopt
from ruamel.yaml import YAML as yaml from ruamel.yaml import YAML as yaml
@@ -40,13 +40,11 @@ def change_link(path, value, ignores):
continue continue
val[ENTRY] = value val[ENTRY] = value
output = io.StringIO()
data = yaml() data = yaml()
data.default_flow_style = False data.default_flow_style = False
data.indent = 2 data.indent = 2
data.typ = 'rt' data.typ = 'rt'
data.dump(content, output) data.dump(content, sys.stdout)
print(output)
def main(): def main():