projects
/
invirt/packages/invirt-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use yaml.CSafeDumper and yaml.CSafeLoader everywhere
[invirt/packages/invirt-base.git]
/
files
/
usr
/
sbin
/
invirt-getconf
diff --git
a/files/usr/sbin/invirt-getconf
b/files/usr/sbin/invirt-getconf
index
1976dbc
..
06c0aa7
100755
(executable)
--- a/
files/usr/sbin/invirt-getconf
+++ b/
files/usr/sbin/invirt-getconf
@@
-79,7
+79,8
@@
def main(argv):
print conf
else:
import yaml
- yaml.safe_dump(conf, stdout, default_flow_style=False)
+ yaml.dump(conf, stdout,
+ Dumper=yaml.CSafeDumper, default_flow_style=False)
except invirt_exception, ex:
print >> stderr, ex
return 1