summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmgagnome5
1 files changed, 4 insertions, 1 deletions
diff --git a/mgagnome b/mgagnome
index cb7cd10..7ba8752 100755
--- a/mgagnome
+++ b/mgagnome
@@ -964,8 +964,8 @@ class Upstream():
self.names = tarballs
- @lru_cache(maxsize=4096)
@classmethod
+ @lru_cache(maxsize=4096)
def versions(cls, module):
versions = None
@@ -1532,6 +1532,9 @@ def cmd_clean_spec_multi(args):
provides_alt = [clean_pkgconfig_prov(prov) for prov in provides if keys['check_provide'](prov)]
change_to = None
if len(provides_alt) == 1:
+ if options.debug:
+ print("NOTICE: Only one available option, using %s" % provides_alt[0])
+
change_to = provides_alt[0]
elif provides_alt and 'extra' in keys:
# Determine base require (e.g. gtk+3.0-devel --> gtk+3.0)