aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rerun `autopep8` with `--aggressiveSam James2023-08-071-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Reformat with `black`Sam James2023-08-071-147/+154
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* Run `pyupgrade`Sam James2023-08-071-8/+5
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* configs.py: Add missing https:// to the re.compileBrian Dolbec2022-05-311-1/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* configs.py: Remove py2 codeBrian Dolbec2022-05-311-4/+1
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* Remove remaining SYNC codeBrian Dolbec2022-05-311-7/+2
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* Remove obsolete __future__ import of print_functionBrian Dolbec2022-05-301-3/+0
| | | | Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
* write_make_conf: fix infinite loop (bug 698470)Zac Medico2019-10-241-0/+2
| | | | | | Fixes: 42238f4ff13a ("write_make_conf: support multi-line GENTOO_MIRRORS (bug 543814)") Bug: https://bugs.gentoo.org/698470 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* get_filesystem_mirrors: fix DeprecationWarning: invalid escape sequence \Zac Medico2019-05-271-1/+1
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* write_make_conf: support multi-line GENTOO_MIRRORS (bug 543814)Zac Medico2019-05-271-6/+27
| | | | | | | Use shlex to support multi-line GENTOO_MIRRORS assignments. Bug: https://bugs.gentoo.org/543814 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* get_filesystem_mirrors() cleanup & fixesBrian Dolbec2013-10-171-34/+44
| | | | | | Fix py3 string.letters error Unwrap function in try: except:, narrow it to only lex.get_token() Cleanup sloppy/redundant code. Thanks to Arfrever's help.
* Fix py3 compatibilty.Brian Dolbec2013-10-161-1/+1
|
* Add repos.conf support.Brian Dolbec2013-10-161-0/+177
Move config file actions to their own file.