Patchwork [bitbake-devel,93/94] bitbake: dsi: fix typos

login
register
mail settings
Submitter Alexandru DAMIAN
Date Sept. 24, 2013, 4:53 p.m.
Message ID <320c4f7d07e29eff15c1865bb2261ac5c460e246.1380041477.git.alexandru.damian@intel.com>
Download mbox | patch
Permalink /patch/58811/
State New
Headers show

Comments

Alexandru DAMIAN - Sept. 24, 2013, 4:53 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

Some copy-pasted code didn't get pasted right,
so we fix some of the typos which crepped out.

This fixes some bugs which aren't logged
in Bugzilla, which caused data transfer to fail
silently.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 bitbake/lib/bb/ui/buildinfohelper.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index a3a50a3..8ead476 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -178,27 +178,27 @@  class ORMWrapper(object):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
                         depends_on = p, dep_type = Build_Package_Dependency.TYPE_RDEPENDS)
-        if package_info['RDEPENDS'] is not None:
+        if package_info['RPROVIDES'] is not None:
             for p in package_info['RPROVIDES'].split(" "):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
                         depends_on = p, dep_type = Build_Package_Dependency.TYPE_RPROVIDES)
-        if package_info['RDEPENDS'] is not None:
+        if package_info['RRECOMMENDS'] is not None:
             for p in package_info['RRECOMMENDS'].split(" "):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
                         depends_on = p, dep_type = Build_Package_Dependency.TYPE_RRECOMMENDS)
-        if package_info['RDEPENDS'] is not None:
+        if package_info['RSUGGESTS'] is not None:
             for p in package_info['RSUGGESTS'].split(" "):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
                         depends_on = p, dep_type = Build_Package_Dependency.TYPE_RSUGGESTS)
-        if package_info['RDEPENDS'] is not None:
+        if package_info['RREPLACES'] is not None:
             for p in package_info['RREPLACES'].split(" "):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
                         depends_on = p, dep_type = Build_Package_Dependency.TYPE_RREPLACES)
-        if package_info['RDEPENDS'] is not None:
+        if package_info['RCONFLICTS'] is not None:
             for p in package_info['RCONFLICTS'].split(" "):
                 if not p.startswith("("):
                     Build_Package_Dependency.objects.get_or_create( package = bp_object,
@@ -643,7 +643,7 @@  class BuildInfoHelper(object):
         if not 'package_files' in self.internal_state.keys():
             self.internal_state['package_files'] = {}
 
-        data = event._data
+        data = event.data
         self.internal_state['package_files'][data['PKG']] = data['FILES']
 
     def store_log_information(self, level, text):