diff options
Diffstat (limited to 'pomu/source/file.py')
-rw-r--r-- | pomu/source/file.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/source/file.py b/pomu/source/file.py index 9f74d6c..a3a7e91 100644 --- a/pomu/source/file.py +++ b/pomu/source/file.py @@ -54,7 +54,7 @@ class LocalEbuildSource(BaseSource): @dispatcher.handler(priority=5) def parse_ebuild_path(uri): - if not path.isfile(uri) or not path.endswith('.ebuild'): + if not path.isfile(uri) or not uri.endswith('.ebuild'): return Result.Err() uri = path.abspath(uri) dirn, basen = path.split(uri) |