Use proper python errors.
[kai/samba-autobuild/.git] / source / lib / registry / registry.i
index 9420ba2014cd6e66c0ccbd92441fba164c7c26c7..c55197c3d0c70fd13dc93a5f952d8e22c0632d6f 100644 (file)
@@ -35,6 +35,7 @@
 typedef struct registry_context reg;
 typedef struct hive_key hive_key;
 %}
+%include "../../libcli/util/errors.i"
 
 /* FIXME: This should be in another file */
 %typemap(default,noblock=1) struct auth_session_info * {
@@ -44,7 +45,6 @@ typedef struct hive_key hive_key;
 %import "stdint.i"
 %import "../../lib/talloc/talloc.i"
 %import "../../auth/credentials/credentials.i"
-%import "../../libcli/util/errors.i"
 %import "../../param/param.i"
 %import "../events/events.i"