diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-07-21 15:05:19 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-07-21 15:05:19 +0300 |
commit | 0ef67980e8a428985886482f33ebf8cdce979f7b (patch) | |
tree | c0a29353c10f03e366d5d422d1983c498b403f86 /python/rpmmodule.c | |
parent | 6fdd71bbeef3d1c1b731b9fbbbfad792715c3a1f (diff) | |
download | rpm-0ef67980e8a428985886482f33ebf8cdce979f7b.tar.gz rpm-0ef67980e8a428985886482f33ebf8cdce979f7b.tar.bz2 rpm-0ef67980e8a428985886482f33ebf8cdce979f7b.zip |
Make rpmdbCheckTerminate() non-terminating.
This allows use in exit handler without affecting exit code, and permits
caller to do its own cleanup if necessary.
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r-- | python/rpmmodule.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 9f6742e3c..0b285631b 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -229,8 +229,6 @@ static PyMethodDef rpmModuleMethods[] = { /* * Force clean up of open iterators and dbs on exit. -* This ends up calling exit() while we're already exiting but exit -* handlers will only get called once so it wont loop. */ static void rpm_exithook(void) { |