]> www.infradead.org Git - users/dhowells/kafs-utils.git/commit
rxgen: Use PyErr_NoMemory() rather than PyExc_MemoryError
authorDavid Howells <dhowells@redhat.com>
Wed, 16 Apr 2014 07:18:07 +0000 (08:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 16 Apr 2014 07:18:07 +0000 (08:18 +0100)
commitc9e6fb195c5053aec5573856ecc4522264e5a1a3
tree8a8c531badf5d26056d72aa0fdcf12538a030786
parent09cb0b14215a3c51f6de48739d762d917d21e9e6
rxgen: Use PyErr_NoMemory() rather than PyExc_MemoryError

Use PyErr_NoMemory() rather than PyExc_MemoryError as the former actually
raises an exception.  The latter is just a class and is then just an object
with no special meaning when returned.

Signed-off-by: David Howells <dhowells@redhat.com>
rxgen/emit_py_sync_funcs.pm