diff options
author | Olav Vitters <olav@vitters.nl> | 2020-04-24 10:45:42 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-04-24 10:45:42 +0200 |
commit | a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4 (patch) | |
tree | 9ca6f565f4c60c1a89140c84f89f42772113c8ea | |
parent | 2bf88394e1e61a0733e40e56027a9e826ec1522e (diff) | |
download | mgagnome-a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4.tar mgagnome-a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4.tar.gz mgagnome-a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4.tar.bz2 mgagnome-a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4.tar.xz mgagnome-a8ec952ecd9111d9edf2f602d5fd4f4f0dce0af4.zip |
pylint fallout fixes
-rwxr-xr-x | mgagnome | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |