File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616from pkgcore .ebuild .atom import MalformedAtom
1717from pkgcore .ebuild .atom import atom as atom_cls
1818from pkgcore .ebuild .profiles import ProfileNode
19- from snakeoil .bash import iter_read_bash
19+ from snakeoil .bash import read_bash
2020from snakeoil .cli import arghparse
2121from snakeoil .osutils import pjoin
2222from snakeoil .strings import pluralism
2323
2424from .. import git
25- from .argparsers import cwd_repo_argparser , git_repo_argparser , BugzillaApiKey
25+ from .argparsers import BugzillaApiKey , cwd_repo_argparser , git_repo_argparser
2626
2727mask = arghparse .ArgumentParser (
2828 prog = "pkgdev mask" ,
@@ -203,7 +203,7 @@ def parse(self):
203203 lines = f .readlines ()
204204
205205 # determine mask groups by line number
206- mask_map = dict (iter_read_bash (self .path , enum_line = True ))
206+ mask_map = dict (read_bash (self .path , enum_line = True ))
207207 for mask_lines in map (list , consecutive_groups (mask_map )):
208208 # use profile's EAPI setting to coerce supported masks
209209 atoms = [self .profile .eapi_atom (mask_map [x ]) for x in mask_lines ]
You can’t perform that action at this time.
0 commit comments