diff options
-rwxr-xr-x | mgagnome | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1318,7 +1318,7 @@ def cmd_group_owner(options): for line in sorted(get_output(source, maints, packages[group])): print(line) -def cmd_cleanup(options): +def cmd_cleanup(_): root = os.path.expanduser(Downstream.PKGROOT) # packages = set(Downstream().packages) @@ -1362,7 +1362,7 @@ def cmd_ls(options): else: streams = sorted(streams) - for package, module, package_version, spec_version, downstream_files in streams: + for package, module, package_version, spec_version, _ in streams: sys.stdout.write(package) if options.spec: sys.stdout.write('/SPECS/%s.spec' % package) @@ -1372,10 +1372,10 @@ def cmd_ls(options): sys.stdout.write("\t%s\t%s" % (spec_version, package_version)) print() -def cmd_check_version(options): +def cmd_check_version(_): streams = join_streams(show_version=True) - for package, module, package_version, spec_version, downstream_files in streams: + for package, _, package_version, spec_version, _ in streams: if package_version == spec_version: continue @@ -1386,7 +1386,7 @@ def cmd_check_version(options): def cmd_check_latest(options): streams = join_streams(show_version=True) - for package, module, package_version, spec_version, downstream_files in streams: + for package, module, package_version, spec_version, _ in streams: upgrade = set() sys.stdout.write(package) sys.stdout.write("\t%s\t%s" % (spec_version, package_version)) @@ -1427,7 +1427,7 @@ def cmd_check_latest(options): def cmd_patches(options): root = os.path.expanduser(Downstream.PKGROOT) - for package, module, package_version, spec_version, downstream_files in sorted(join_streams()): + for package, module, _, _, downstream_files in sorted(join_streams()): for filename in downstream_files: if '.patch' in filename or '.diff' in filename: @@ -1647,7 +1647,7 @@ def cmd_clean_spec_multi(args): return made_changes def cmd_check_spec_multi(args): - options, package = args + _, package = args cwd = Downstream.package_path(package) path = os.path.join(cwd, "SPECS", "%s.spec" % package) |