@@ -46,7 +46,7 @@ def _fetch_arch_db() -> None:
4646 try :
4747 Pacman .run ("-Sy" )
4848 except Exception as e :
49- debug (f' Failed to sync Arch Linux package database: { e } ' )
49+ debug (f" Failed to sync Arch Linux package database: { e } " )
5050 exit (1 )
5151
5252
@@ -57,10 +57,10 @@ def _check_new_version() -> None:
5757 try :
5858 upgrade = Pacman .run ("-Qu archinstall" ).decode ()
5959 except Exception as e :
60- debug (f' Failed determine pacman version: { e } ' )
60+ debug (f" Failed determine pacman version: { e } " )
6161
6262 if upgrade :
63- text = f' New version available: { upgrade } '
63+ text = f" New version available: { upgrade } "
6464 info (text )
6565 time .sleep (3 )
6666
@@ -71,7 +71,7 @@ def main() -> int:
7171 OR straight as a module: python -m archinstall
7272 In any case we will be attempting to load the provided script to be run from the scripts/ folder
7373 """
74- if ' --help' in sys .argv or '-h' in sys .argv :
74+ if " --help" in sys .argv or "-h" in sys .argv :
7575 arch_config_handler .print_help ()
7676 return 0
7777
@@ -89,7 +89,7 @@ def main() -> int:
8989
9090 script = arch_config_handler .args .script
9191
92- mod_name = f' archinstall.scripts.{ script } '
92+ mod_name = f" archinstall.scripts.{ script } "
9393 # by loading the module we'll automatically run the script
9494 importlib .import_module (mod_name )
9595
@@ -109,13 +109,13 @@ def run_as_a_module() -> None:
109109 Tui .shutdown ()
110110
111111 if exc :
112- err = '' .join (traceback .format_exception (exc ))
112+ err = "" .join (traceback .format_exception (exc ))
113113 error (err )
114114
115115 text = (
116- ' Archinstall experienced the above error. If you think this is a bug, please report it to\n '
116+ " Archinstall experienced the above error. If you think this is a bug, please report it to\n "
117117 'https://github.com/archlinux/archinstall and include the log file "/var/log/archinstall/install.log".\n \n '
118- ' Hint: To extract the log from a live ISO \n curl -F\ ' file=@/var/log/archinstall/install.log\ ' https://0x0.st\n '
118+ " Hint: To extract the log from a live ISO \n curl -F'file=@/var/log/archinstall/install.log' https://0x0.st\n "
119119 )
120120
121121 warn (text )
@@ -125,20 +125,20 @@ def run_as_a_module() -> None:
125125
126126
127127__all__ = [
128- ' DeferredTranslation' ,
129- ' FormattedOutput' ,
130- ' Language' ,
131- ' Pacman' ,
132- ' SysInfo' ,
133- ' Tui' ,
134- ' arch_config_handler' ,
135- ' debug' ,
136- ' disk_layouts' ,
137- ' error' ,
138- ' info' ,
139- ' load_plugin' ,
140- ' log' ,
141- ' plugin' ,
142- ' translation_handler' ,
143- ' warn' ,
128+ " DeferredTranslation" ,
129+ " FormattedOutput" ,
130+ " Language" ,
131+ " Pacman" ,
132+ " SysInfo" ,
133+ " Tui" ,
134+ " arch_config_handler" ,
135+ " debug" ,
136+ " disk_layouts" ,
137+ " error" ,
138+ " info" ,
139+ " load_plugin" ,
140+ " log" ,
141+ " plugin" ,
142+ " translation_handler" ,
143+ " warn" ,
144144]
0 commit comments