27 lines
773 B
Diff
27 lines
773 B
Diff
From 14a281a4ada0a175eebbf9601d42b2d882fc11d6 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/3] 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
|
|
|