Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'calm/uploads.py')
-rw-r--r--calm/uploads.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/uploads.py b/calm/uploads.py
index ba18217..fcb23cd 100644
--- a/calm/uploads.py
+++ b/calm/uploads.py
@@ -143,8 +143,8 @@ def scan(scandir, m, all_packages, arch, args):
logging.error("package '%s' is not in the package list" % relpath)
continue
- # only process packages for which we are listed as a maintainer
- if not package.is_in_package_list(pkgpath, m.pkgs):
+ # only process packages for which we are listed as a maintainer, or we are a trusted maintainer
+ if not (package.is_in_package_list(pkgpath, m.pkgs) or (m.name in args.trustedmaint.split('/'))):
logging.warning("package '%s' is not in the package list for maintainer '%s'" % (relpath, m.name))
continue