mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 20:35:19 +01:00
Removed git --local in is_master_repository.py
This commit is contained in:
parent
bc0d6624ac
commit
27eb074c26
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user