10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-26 07:02:14 +02:00

Removed git --local in is_master_repository.py

This commit is contained in:
Anthony Scemama 2015-11-13 09:36:04 +01:00
parent bc0d6624ac
commit 27eb074c26

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
import subprocess import subprocess
pipe = subprocess.Popen("git config --local --get remote.origin.url", \ pipe = subprocess.Popen("git config --get remote.origin.url", \
shell=True, stdout=subprocess.PIPE) shell=True, stdout=subprocess.PIPE)
result = pipe.stdout.read() result = pipe.stdout.read()
is_master_repository = "LCPQ/quantum_package" in result is_master_repository = "LCPQ/quantum_package" in result