Register the new SCRIPT_ERROR callback value to python
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Dec 2007 12:18:50 +0000 (14:18 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 11 Dec 2007 12:18:50 +0000 (14:18 +0200)
python/rpmmodule.c

index b6b509e..3bfd974 100644 (file)
@@ -445,6 +445,7 @@ void init_rpm(void)
     REGISTER_ENUM(RPMCALLBACK_REPACKAGE_STOP);
     REGISTER_ENUM(RPMCALLBACK_UNPACK_ERROR);
     REGISTER_ENUM(RPMCALLBACK_CPIO_ERROR);
+    REGISTER_ENUM(RPMCALLBACK_SCRIPT_ERROR);
 
     REGISTER_ENUM(RPMPROB_BADARCH);
     REGISTER_ENUM(RPMPROB_BADOS);