Formatting fixes

This commit is contained in:
Richard 2021-09-21 14:48:41 +01:00
parent 72c060c213
commit ebf8376bd4

View file

@ -20,12 +20,16 @@ if os.system("git lfs env > /dev/null") == 0:
os.system("git lfs fetch") os.system("git lfs fetch")
os.system("git lfs checkout") os.system("git lfs checkout")
else: else:
print("Warning: it seems git lfs is not installed. Bodging our way around the problem to retrieve images...") print(
os.system('wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.1/git-lfs-linux-amd64-v2.7.1.tar.gz') "Warning: it seems git lfs is not installed. Bodging our way around the problem to retrieve images..."
os.system('tar xvfz git-lfs-linux-amd64-v2.7.1.tar.gz') )
os.system('./git-lfs install') # make lfs available in current repository os.system(
os.system('./git-lfs fetch') # download content from remote "wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.1/git-lfs-linux-amd64-v2.7.1.tar.gz"
os.system('./git-lfs checkout') # make local files to have the real content on them )
os.system("tar xvfz git-lfs-linux-amd64-v2.7.1.tar.gz")
os.system("./git-lfs install") # make lfs available in current repository
os.system("./git-lfs fetch") # download content from remote
os.system("./git-lfs checkout") # make local files to have the real content on them
# Load module from relative imports by modifying the path # Load module from relative imports by modifying the path