File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ from collections import defaultdict
99from pkgcraft .config import Config
1010from pkgcraft .error import PkgcraftError
1111from pkgcraft .logging import logger
12- from pkgcraft .repo import EbuildRepo
1312
1413
1514def main ():
@@ -28,7 +27,7 @@ def main():
2827 try :
2928 config .load ()
3029 if os .path .sep in args .repo :
31- repo = EbuildRepo (args .repo )
30+ repo = config . add_repo (args .repo , external = True )
3231 else :
3332 repo = config .repos [args .repo ]
3433 except PkgcraftError as e :
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ from collections import defaultdict
99from pkgcraft .config import Config
1010from pkgcraft .error import PkgcraftError
1111from pkgcraft .logging import logger
12- from pkgcraft .repo import EbuildRepo
1312
1413
1514def main ():
@@ -28,7 +27,7 @@ def main():
2827 try :
2928 config .load ()
3029 if os .path .sep in args .repo :
31- repo = EbuildRepo (args .repo )
30+ repo = config . add_repo (args .repo , external = True )
3231 else :
3332 repo = config .repos [args .repo ]
3433 except PkgcraftError as e :
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def main():
6767 try :
6868 if args .repos :
6969 for path in args .repos :
70- config .add_repo (path )
70+ config .add_repo (path , external = True )
7171 else :
7272 config .load ()
7373 except PkgcraftError as e :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def main():
3333 try :
3434 if args .repos :
3535 for path in args .repos :
36- config .add_repo (path )
36+ config .add_repo (path , external = True )
3737 else :
3838 config .load ()
3939 except PkgcraftError as e :
You can’t perform that action at this time.
0 commit comments