aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/source/file.py')
-rw-r--r--pomu/source/file.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pomu/source/file.py b/pomu/source/file.py
index 7658435..67ecdb2 100644
--- a/pomu/source/file.py
+++ b/pomu/source/file.py
@@ -60,8 +60,7 @@ class LocalEbuildSource(BaseSource):
uri = path.abspath(uri)
dirn, basen = path.split(uri)
basen = basen[:-7]
- _, name, v1, v2, v3 = cpv_split(basen)
- ver = ver_str(v1, v2, v3)
+ _, name, ver = cpv_split(basen)
parent = dirn.split('/')[-1]
# we need to query the impure world
# TODO: write a global option which would set the impure values non-interactively