Closed Batcastle closed 2 years ago
Hello @Batcastle! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:
usr/share/system-installer/modules/master.py
:Line 204:80: E501 line too long (83 > 79 characters) Line 207:80: E501 line too long (82 > 79 characters) Line 218:80: E501 line too long (88 > 79 characters) Line 222:80: E501 line too long (85 > 79 characters) Line 341:80: E501 line too long (80 > 79 characters) Line 344:80: E501 line too long (87 > 79 characters) Line 350:80: E501 line too long (81 > 79 characters) Line 415:80: E501 line too long (127 > 79 characters) Line 416:80: E501 line too long (109 > 79 characters) Line 433:80: E501 line too long (131 > 79 characters) Line 434:80: E501 line too long (119 > 79 characters)
Instead of just calling
os.mkdir()
over and over intry
/except
blocks, make one call with theexist_ok
flag set toTrue
in order to set up the parent directories. Just make sure allos.mkdir()
calls are intry
/catch
blocks.