diff options
-rw-r--r-- | pym/portage/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 57040b1cb..1b7cf94bf 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4467,7 +4467,10 @@ def getmaskingreason(mycpv, settings=None, portdb=None, return_location=False): # Apparently this comment applies to muliple masks, so # it remains valid until a blank line is encountered. comment_valid += 1 - return None + if return_location: + return (None, None) + else: + return None def getmaskingstatus(mycpv, settings=None, portdb=None): if settings is None: |