Blob Blame Raw
From 92197a0f3b4eb02ecaaa562a24f3dd698bbf790f Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Fri, 30 Sep 2016 12:31:40 +0200
Subject: [PATCH 2/4] Fix generation of versioned OSGi requires

Fixes #26
---
 python/javapackages/cache/osgi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/javapackages/cache/osgi.py b/python/javapackages/cache/osgi.py
index cf4534c..c1f791c 100644
--- a/python/javapackages/cache/osgi.py
+++ b/python/javapackages/cache/osgi.py
@@ -61,7 +61,7 @@ class OSGiCache(Cache):
 
     def get_bundle(self, name):
         for bundle in self._cache.values():
-            if bundle == name:
+            if bundle.bundle == name:
                 return bundle
         return None
 
-- 
2.9.3