summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
Diffstat (limited to 'portato/backend')
-rw-r--r--portato/backend/catapult/package.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/backend/catapult/package.py b/portato/backend/catapult/package.py
index b1dbcfb..aa65e92 100644
--- a/portato/backend/catapult/package.py
+++ b/portato/backend/catapult/package.py
@@ -32,7 +32,11 @@ class CatapultPackage(Package):
def use_expanded (self, flag, suggest = None):
if not suggest:
suggest = ""
- return str(self.proxy.use_expanded(self.get_cpv(), flag, suggest))
+ s = str(self.proxy.use_expanded(self.get_cpv(), flag, suggest))
+ if s:
+ return s
+ else:
+ return None
def get_package_path(self):
return str(self.proxy.get_package_path(self.get_cpv()))