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:
authorJon Turney <jon.turney@dronecode.org.uk>2020-07-28 17:55:57 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2020-07-28 18:06:26 +0300
commit0f5b4cc8a67bf5d37459318e954402de2ddd1142 (patch)
tree8b9e8603fa7c57ea23db4809c187594ace747715
parent0aad95e50647e0aa61622a85a9403e395eb84d30 (diff)
Don't use full paths for 'not on package list' upload errors
-rw-r--r--calm/uploads.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/calm/uploads.py b/calm/uploads.py
index 06a8472..388e089 100644
--- a/calm/uploads.py
+++ b/calm/uploads.py
@@ -138,12 +138,12 @@ def scan(m, all_packages, arch, args):
# package doesn't appear in package list at all
(_, _, pkgpath) = relpath.split(os.sep, 2)
if not package.is_in_package_list(pkgpath, all_packages):
- logging.error("package '%s' is not in the package list" % dirpath)
+ 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):
- logging.warning("package '%s' is not in the package list for maintainer %s" % (dirpath, m.name))
+ logging.warning("package '%s' is not in the package list for maintainer %s" % (relpath, m.name))
continue
# see if we can fix-up any setup.hint files