archinstall/__init__.py changes

This commit is contained in:
Dylan Taylor 2021-05-15 15:43:02 -04:00
parent 96a48664e2
commit 8e86a955ec
1 changed files with 4 additions and 6 deletions

View File

@ -3,7 +3,6 @@ from .lib.disk import *
from .lib.exceptions import * from .lib.exceptions import *
from .lib.general import * from .lib.general import *
from .lib.hardware import * from .lib.hardware import *
from .lib.installer import __packages__, Installer
from .lib.locale_helpers import * from .lib.locale_helpers import *
from .lib.luks import * from .lib.luks import *
from .lib.mirrors import * from .lib.mirrors import *
@ -17,9 +16,9 @@ from .lib.user_interaction import *
__version__ = "2.2.0.dev1" __version__ = "2.2.0.dev1"
## Basic version of arg.parse() supporting: # Basic version of arg.parse() supporting:
## --key=value # --key=value
## --boolean # --boolean
arguments = {} arguments = {}
positionals = [] positionals = []
for arg in sys.argv[1:]: for arg in sys.argv[1:]:
@ -33,8 +32,7 @@ for arg in sys.argv[1:]:
positionals.append(arg) positionals.append(arg)
# TODO: Learn the dark arts of argparse... # TODO: Learn the dark arts of argparse... (I summon thee dark spawn of cPython)
# (I summon thee dark spawn of cPython)
def run_as_a_module(): def run_as_a_module():