diff options
author | Lorin Hochstein <lorin.hochstein@sendgrid.com> | 2014-11-22 20:59:36 -0500 |
---|---|---|
committer | Lorin Hochstein <lorin.hochstein@sendgrid.com> | 2014-11-22 20:59:36 -0500 |
commit | d7db09a0eb9d02adaabb0af7e167b9bdb9354644 (patch) | |
tree | e2f09b8cd86c78b8744aac1063bc0c83092a483c /web_infrastructure/django_manage.py | |
parent | 19b328c4df2157b6c0191e9144236643ce2be890 (diff) | |
download | ansible-modules-core-d7db09a0eb9d02adaabb0af7e167b9bdb9354644.tar.gz |
django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example:
app_path=~/myproject
Diffstat (limited to 'web_infrastructure/django_manage.py')
-rw-r--r-- | web_infrastructure/django_manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py index 580cc63c..424bf682 100644 --- a/web_infrastructure/django_manage.py +++ b/web_infrastructure/django_manage.py @@ -218,7 +218,7 @@ def main(): ) command = module.params['command'] - app_path = module.params['app_path'] + app_path = os.path.expanduser(module.params['app_path']) virtualenv = module.params['virtualenv'] for param in specific_params: |