summaryrefslogtreecommitdiff
path: root/importpkg.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-12-31 22:43:29 +0100
committerHelmut Grohne <helmut@subdivi.de>2021-12-31 22:43:29 +0100
commit7262901dd30fb7074a0018cfc1fff8e7779b54a8 (patch)
treeeca191e37cbbe9bbfd689e375d4ed0c5bb1af245 /importpkg.py
parent5b359b10053cbade539246eec26e86b44793ca40 (diff)
downloaddebian-dedup-7262901dd30fb7074a0018cfc1fff8e7779b54a8.tar.gz
importpkg.py + readyaml.py: prefer the C libyaml implementation
Diffstat (limited to 'importpkg.py')
-rwxr-xr-ximportpkg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/importpkg.py b/importpkg.py
index 7bca70b..4f00407 100755
--- a/importpkg.py
+++ b/importpkg.py
@@ -79,7 +79,7 @@ def main():
type=urllib.request.urlopen,
help="read from this location instead of stdin")
args = parser.parse_args()
- dumper = yaml.SafeDumper(sys.stdout)
+ dumper = yaml.CSafeDumper(sys.stdout)
dumper.open()
if args.hash:
args.input = HashedStream(args.input, hashlib.sha256())