mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Allow specifying the transifex rc file path
This commit is contained in:
parent
a9f652bb92
commit
b045278908
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user