diff options
| author | Richard Jones <rjones@redhat.com> | 2009-11-19 17:01:53 +0000 |
|---|---|---|
| committer | Richard Jones <rjones@redhat.com> | 2009-11-19 17:01:53 +0000 |
| commit | a216a8adaaf99021ec2f9b6c3eb2c4074252bbb4 (patch) | |
| tree | cc42658f9d7a0d168fd744d7b22cd4b16e4c2fb3 /python/run-python-tests | |
| parent | 986541c26ddeec7583cfb41412d4edaef60703a2 (diff) | |
| download | libguestfs-a216a8adaaf99021ec2f9b6c3eb2c4074252bbb4.tar.gz libguestfs-a216a8adaaf99021ec2f9b6c3eb2c4074252bbb4.tar.xz libguestfs-a216a8adaaf99021ec2f9b6c3eb2c4074252bbb4.zip | |
generator: open Unix module by default.
Add:
open Unix
at the top of the generator, which means that we don't need to
prefix any 'Unix.foo' symbols (we can just use 'foo' instead).
Unfortunately the Unix module shadows one symbol in Pervasives
(the Pervasives module is opened by default in OCaml code). That
symbol is 'stdout'. So we replace this with 'Pervasives.stdout'
in two places. Still a net reduction in code size.
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions
