Allow specifying the transifex rc file path

This commit is contained in:
Pedro Algarvio 2014-02-03 18:04:21 +00:00
parent a9f652bb92
commit b045278908

View File

@ -19,7 +19,12 @@ import getpass
import ConfigParser
HOST = 'https://www.transifex.com'
RCFILE = os.path.abspath(os.path.expanduser('~/.transifexrc'))
RCFILE = os.path.abspath(
os.environ.get(
'TRANSIFEX_RC',
os.path.expanduser('~/.transifexrc')
)
)
def main():