mirror of
https://github.com/spacebarchat/spacebarchat.git
synced 2024-11-08 19:52:36 +01:00
Merge pull request #161 from fosscord/revert-151-patch-1
Revert "Close files after use for setup script"
This commit is contained in:
commit
cc5a157b6e
@ -1,6 +1,6 @@
|
|||||||
# Script to:
|
# script to:
|
||||||
# - Get all repo git urls from the fosscord orga and format them to make the process of updating the setup script less tiresome
|
# - get all repo git urls from the fosscord orga and format them to make the process of updating the setup script less tiresome
|
||||||
# - Create a workspace file for VScode
|
# - create a workspace file for VScode
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
@ -17,8 +17,6 @@ for repo in response:
|
|||||||
|
|
||||||
with open("clone_all_repos.sh","w") as f:
|
with open("clone_all_repos.sh","w") as f:
|
||||||
f.write(repos)
|
f.write(repos)
|
||||||
f.close()
|
|
||||||
|
|
||||||
with open("fosscord.code-workspace", "w") as f:
|
with open("fosscord.code-workspace", "w") as f:
|
||||||
f.write(str(workspace).replace("'",'"'))
|
f.write(str(workspace).replace("'",'"'))
|
||||||
f.close()
|
|
||||||
|
Loading…
Reference in New Issue
Block a user