diff options
| author | Jonathan Davila <jdavila@ansible.com> | 2014-12-02 10:09:31 -0500 |
|---|---|---|
| committer | Jonathan Davila <jdavila@ansible.com> | 2014-12-02 10:09:31 -0500 |
| commit | 1d2e23bc7e7b5b843e0227eec1de37dddc31a61e (patch) | |
| tree | 6d6d56c14e1a02d99fbefd45327afb0328a7c416 /docsite | |
| parent | 29d41bb789383c3ff59269b28877ea0f270f5861 (diff) | |
| download | ansible-1d2e23bc7e7b5b843e0227eec1de37dddc31a61e.tar.gz | |
changed time.py to timetest.py to avoid keyword usage
Diffstat (limited to 'docsite')
| -rw-r--r-- | docsite/rst/developing_modules.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docsite/rst/developing_modules.rst b/docsite/rst/developing_modules.rst index aff5fab556..709697c7bb 100644 --- a/docsite/rst/developing_modules.rst +++ b/docsite/rst/developing_modules.rst @@ -48,7 +48,7 @@ modules. Keep in mind, though, that some modules in ansible's source tree are so look at `service` or `yum`, and don't stare too close into things like `async_wrapper` or you'll turn to stone. Nobody ever executes async_wrapper directly. -Ok, let's get going with an example. We'll use Python. For starters, save this as a file named `time.py`:: +Ok, let's get going with an example. We'll use Python. For starters, save this as a file named `timetest.py`:: #!/usr/bin/python @@ -73,7 +73,7 @@ There's a useful test script in the source checkout for ansible:: Let's run the script you just wrote with that:: - ansible/hacking/test-module -m ./time.py + ansible/hacking/test-module -m ./timetest.py You should see output that looks something like this:: |
