summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2013-01-22 15:39:13 +0800
committerGui Chen <gui.chen@intel.com>2013-01-22 15:39:13 +0800
commit310606d325389b79ebb4ac595b4981c99ac64c76 (patch)
tree76cb423e00c7abfefb87db800c5920a0beffe46d /plugins
parent8239a88eba4647c1f473f828822ccfe8ba474421 (diff)
downloadmic-310606d325389b79ebb4ac595b4981c99ac64c76.tar.gz
mic-310606d325389b79ebb4ac595b4981c99ac64c76.tar.bz2
mic-310606d325389b79ebb4ac595b4981c99ac64c76.zip
add lost interface getVcsInfo in yum backend
Change-Id: Icda3b0579d87ae4af3dc0fa566fb59be77732fe7 Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/backend/yumpkgmgr.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/backend/yumpkgmgr.py b/plugins/backend/yumpkgmgr.py
index 1fbf1b2..95690c6 100644
--- a/plugins/backend/yumpkgmgr.py
+++ b/plugins/backend/yumpkgmgr.py
@@ -126,6 +126,7 @@ class Yum(BackendPlugin, yum.YumBase):
self.__pkgs_license = {}
self.__pkgs_content = {}
+ self.__pkgs_vcsinfo = {}
self.install_debuginfo = False
@@ -450,6 +451,9 @@ class Yum(BackendPlugin, yum.YumBase):
finally:
msger.disable_logstderr()
+ def getVcsInfo(self):
+ return self.__pkgs_vcsinfo
+
def getAllContent(self):
return self.__pkgs_content