Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/52-54-00-12-34-56.py
diff options
context:
space:
mode:
authorVarun Madiath <vamega@gmail.com>2020-10-19 22:59:30 -0400
committerVarun Madiath <vamega@gmail.com>2020-10-19 23:07:35 -0400
commit5ded22a5d0f5fb1cf1d4d95945f655e8b6a33896 (patch)
tree4e2b46493fadf9cf777e9371545a2e93d1510b17 /profiles/52-54-00-12-34-56.py
parente4f363ce7dbd6ec27a30123caf262c99452a0dd4 (diff)
Fix some PEP-8 errors.
Diffstat (limited to 'profiles/52-54-00-12-34-56.py')
-rw-r--r--profiles/52-54-00-12-34-56.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/profiles/52-54-00-12-34-56.py b/profiles/52-54-00-12-34-56.py
index 2f289c0e..679c6721 100644
--- a/profiles/52-54-00-12-34-56.py
+++ b/profiles/52-54-00-12-34-56.py
@@ -22,7 +22,11 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
with archinstall.luks2(harddrive.partition[1], 'luksloop', disk_password) as unlocked_device:
unlocked_device.format('btrfs')
- with archinstall.Installer(unlocked_device, boot_partition=harddrive.partition[0], hostname='testmachine') as installation:
+ with archinstall.Installer(
+ unlocked_device,
+ boot_partition=harddrive.partition[0],
+ hostname="testmachine"
+ ) as installation:
if installation.minimal_installation():
installation.add_bootloader()
@@ -37,7 +41,12 @@ with archinstall.Filesystem(harddrive, archinstall.GPT) as fs:
print(f'Submitting {commit}: success')
- conditions = {"project" : "archinstall", "profile" : "52-54-00-12-34-56", "status" : "success", "commit" : commit}
+ conditions = {
+ "project": "archinstall",
+ "profile": "52-54-00-12-34-56",
+ "status": "success",
+ "commit": commit
+ }
req = urllib.request.Request("https://api.archlinux.life/build/success",
data=json.dumps(conditions).encode('utf8'),
headers={'content-type': 'application/json'})