]> git.ipfire.org Git - pakfire.git/commitdiff
pakfire: Import everything from _pakfire
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Jun 2023 17:03:52 +0000 (17:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 1 Jun 2023 17:03:52 +0000 (17:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/__init__.py

index ebe61a268202540313948ed1d2db053bcaea55fc..d30bcd679a7e79a53bcb4107d34c3dde6be6ee0a 100644 (file)
@@ -19,9 +19,8 @@
 #                                                                             #
 ###############################################################################
 
-from ._pakfire import Pakfire, native_arch, supported_arches
-
+# Import version
 from .__version__ import PAKFIRE_VERSION as __version__
 
-# Import Exceptions
-from ._pakfire import CommandExecutionError
+# Import everything from the C module
+from ._pakfire import *