Blame 0002-Fix-generation-of-versioned-OSGi-requires.patch

c5c252
From 14a281a4ada0a175eebbf9601d42b2d882fc11d6 Mon Sep 17 00:00:00 2001
c5c252
From: Mikolaj Izdebski <mizdebsk@redhat.com>
c5c252
Date: Fri, 30 Sep 2016 12:31:40 +0200
ae7654
Subject: [PATCH 2/3] Fix generation of versioned OSGi requires
c5c252
c5c252
Fixes #26
c5c252
---
c5c252
 python/javapackages/cache/osgi.py | 2 +-
c5c252
 1 file changed, 1 insertion(+), 1 deletion(-)
c5c252
c5c252
diff --git a/python/javapackages/cache/osgi.py b/python/javapackages/cache/osgi.py
c5c252
index cf4534c..c1f791c 100644
c5c252
--- a/python/javapackages/cache/osgi.py
c5c252
+++ b/python/javapackages/cache/osgi.py
c5c252
@@ -61,7 +61,7 @@ class OSGiCache(Cache):
c5c252
 
c5c252
     def get_bundle(self, name):
c5c252
         for bundle in self._cache.values():
c5c252
-            if bundle == name:
c5c252
+            if bundle.bundle == name:
c5c252
                 return bundle
c5c252
         return None
c5c252
 
c5c252
-- 
ae7654
2.9.3
c5c252