aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMykyta Holubakha <hilobakho@gmail.com>2019-06-13 22:18:03 +0300
committerMykyta Holubakha <hilobakho@gmail.com>2019-06-13 22:18:03 +0300
commitd172112aad6ca4ee589ba8a59bfd1d4212b34192 (patch)
treecd8446f3e8581a4401aa8f8354fb582eb6fd140d /pomu/cli.py
parentEnsure show works with portage (diff)
downloadpomu-master.tar.gz
pomu-master.tar.bz2
pomu-master.zip
Refactor cpv_splitHEADmaster
Diffstat (limited to 'pomu/cli.py')
-rw-r--r--pomu/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/cli.py b/pomu/cli.py
index f9b40f0..bb3fe58 100644
--- a/pomu/cli.py
+++ b/pomu/cli.py
@@ -90,7 +90,7 @@ def import_cmd(package, patch):
@click.argument('patch', type=click.Path(exists=True), nargs=-1, required=True)
def patch(package):
"""Patch an existing package"""
- category, name, *_ = cpv_split(package)
+ category, name, _ = cpv_split(package)
pkg = pomu_active_repo().get_package(name=name, category=category).expect()
pkg.patch(patch).expect()