import warnings
import os
-from _rpm import *
-from transaction import *
-
-import _rpm
+from rpm._rpm import *
+from rpm.transaction import *
+import rpm._rpm as _rpm
_RPMVSF_NODIGESTS = _rpm._RPMVSF_NODIGESTS
_RPMVSF_NOHEADER = _rpm._RPMVSF_NOHEADER
_RPMVSF_NOPAYLOAD = _rpm._RPMVSF_NOPAYLOAD
# try to import build bits but dont require it
try:
- from _rpmb import *
+ from rpm._rpmb import *
except ImportError:
pass
#!/usr/bin/python
import rpm
-from _rpm import ts as _rpmts
+from rpm._rpm import ts as _rpmts
# TODO: migrate relevant documentation from C-side
class TransactionSet(_rpmts):