Re: [Qemu-devel] [PATCH 3/4] qapi-types.py: Fail gracefully if out dir is not specified

2011-10-18 Thread Luiz Capitulino
On Mon, 17 Oct 2011 16:27:34 -0500 Michael Roth mdr...@linux.vnet.ibm.com wrote: On Mon, 17 Oct 2011 13:29:36 -0200, Luiz Capitulino lcapitul...@redhat.com wrote: Otherwise we get: Traceback (most recent call last): File ./scripts/qapi-types.py, line 183, in module

[Qemu-devel] [PATCH 3/4] qapi-types.py: Fail gracefully if out dir is not specified

2011-10-17 Thread Luiz Capitulino
Otherwise we get: Traceback (most recent call last): File ./scripts/qapi-types.py, line 183, in module os.makedirs(output_dir) File /usr/lib64/python2.7/os.py, line 157, in makedirs mkdir(name, mode) OSError: [Errno 2] No such file or directory: ''

Re: [Qemu-devel] [PATCH 3/4] qapi-types.py: Fail gracefully if out dir is not specified

2011-10-17 Thread Michael Roth
On Mon, 17 Oct 2011 13:29:36 -0200, Luiz Capitulino lcapitul...@redhat.com wrote: Otherwise we get: Traceback (most recent call last): File ./scripts/qapi-types.py, line 183, in module os.makedirs(output_dir) File /usr/lib64/python2.7/os.py, line 157, in makedirs