importpkg: use yaml dumper directly
authorHelmut Grohne <helmut@subdivi.de>
Sat, 16 Apr 2016 09:14:40 +0000 (11:14 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 16 Apr 2016 09:14:40 +0000 (11:14 +0200)
commitf5684c218a7e7ed1166c0e60394daa05cda311fa
tree007be44751a79550b0b070df1cf59f941ab0dfa1
parent5f98efef6138b8681f36d047b118872c6ee42845
importpkg: use yaml dumper directly

Instead of carefully crafting an iterator to pass to yaml.safe_dump_all,
we simply take control on our own and call represent on a yaml dumper
object where needed.
importpkg.py