Florian Festi 8341ec
From 97989236c0f39ccbc7f2c1d52cc30f167fd827fe Mon Sep 17 00:00:00 2001
Florian Festi 8341ec
From: Florian Festi <ffesti@redhat.com>
Florian Festi 8341ec
Date: Mon, 26 Jan 2015 14:22:34 +0100
Florian Festi 8341ec
Subject: [PATCH] Fix Python import directive for more strict Python3 search
Florian Festi 8341ec
 rules
Florian Festi 8341ec
Florian Festi 8341ec
Fixes http://rpm.org/ticket/885
Florian Festi 8341ec
---
Florian Festi 8341ec
 python/rpm/transaction.py | 4 ++--
Florian Festi 8341ec
 1 file changed, 2 insertions(+), 2 deletions(-)
Florian Festi 8341ec
Florian Festi 8341ec
diff --git a/python/rpm/transaction.py b/python/rpm/transaction.py
Florian Festi 8341ec
index db7ca67..91a6cc1 100644
Florian Festi 8341ec
--- a/python/rpm/transaction.py
Florian Festi 8341ec
+++ b/python/rpm/transaction.py
Florian Festi 8341ec
@@ -37,8 +37,8 @@ class TransactionSet(TransactionSetCore):
Florian Festi 8341ec
         return self._wrapSetGet('_probFilter', ignoreSet)
Florian Festi 8341ec
 
Florian Festi 8341ec
     def parseSpec(self, specfile):
Florian Festi 8341ec
-        import _rpmb
Florian Festi 8341ec
-        return _rpmb.spec(specfile)
Florian Festi 8341ec
+        import rpm._rpmb
Florian Festi 8341ec
+        return rpm._rpmb.spec(specfile)
Florian Festi 8341ec
 
Florian Festi 8341ec
     def getKeys(self):
Florian Festi 8341ec
         keys = []
Florian Festi 8341ec
-- 
Florian Festi 8341ec
2.1.0
Florian Festi 8341ec