summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2016-05-19 00:36:44 -0400
committerTim Harder <radhermit@gmail.com>2016-05-19 00:36:44 -0400
commitabd93b0715ed27ecff6f1679b3af41c39de47575 (patch)
tree47cecac897c8cbb3f283c604c34f638fa3f495cc
parentpquery: fix license containment checks errors (diff)
downloadpkgcore-abd93b0715ed27ecff6f1679b3af41c39de47575.tar.gz
pkgcore-abd93b0715ed27ecff6f1679b3af41c39de47575.tar.bz2
pkgcore-abd93b0715ed27ecff6f1679b3af41c39de47575.zip
pquery: add license to displayed attribute list under verbose mode
-rw-r--r--pkgcore/scripts/pquery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgcore/scripts/pquery.py b/pkgcore/scripts/pquery.py
index 789afcfc7..e73fbd103 100644
--- a/pkgcore/scripts/pquery.py
+++ b/pkgcore/scripts/pquery.py
@@ -967,7 +967,7 @@ def _validate_args(parser, namespace):
for attr in i:
yield attr
- attrs = ['repo', 'description', 'homepage'] if namespace.verbose else []
+ attrs = ['repo', 'description', 'homepage', 'license'] if namespace.verbose else []
attrs.extend(process_attrs(namespace.attr))
# finally, uniquify the attrs.