<filename>scripts/extract_repo.py
"""
Extract the 'repo = ' line from a credentials file.
File must have fixed name credentials.py, in this directory
"""
import sys
try:
    import credentials
    print(credentials.repo)
except Exception as err: 
    print("")    # Hopefully bash thinks this is a falsy value? 
    sys.exit(1)  # Error code for shell

    

<filename>scripts/extract_repo.py
"""
Extract the 'repo = ' line from a credentials file.
File must have fixed name credentials.py, in this directory
"""
import sys
try:
    import credentials
    print(credentials.repo)
except Exception as err: 
    print("")    # Hopefully bash thinks this is a falsy value? 
    sys.exit(1)  # Error code for shell

    

Extract the 'repo = ' line from a credentials file. File must have fixed name credentials.py, in this directory # Hopefully bash thinks this is a falsy value? # Error code for shell