summaryrefslogtreecommitdiffstats
path: root/awx_collection/plugins/modules/project_update.py
diff options
context:
space:
mode:
authorAlan Rominger <arominge@redhat.com>2021-07-09 18:01:28 +0200
committerAlan Rominger <arominge@redhat.com>2021-07-09 18:01:28 +0200
commit08cb497689647ea1aec5498987a8283f8189e594 (patch)
treec4ae2360a984073822248202036c14956998ed48 /awx_collection/plugins/modules/project_update.py
parentMerge pull request #10589 from AlanCoding/null_traceback (diff)
downloadawx-08cb497689647ea1aec5498987a8283f8189e594.tar.xz
awx-08cb497689647ea1aec5498987a8283f8189e594.zip
Run flake8 on the AWX collection in CI
Diffstat (limited to 'awx_collection/plugins/modules/project_update.py')
-rw-r--r--awx_collection/plugins/modules/project_update.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/awx_collection/plugins/modules/project_update.py b/awx_collection/plugins/modules/project_update.py
index 480fe98d8f..aa8b97e526 100644
--- a/awx_collection/plugins/modules/project_update.py
+++ b/awx_collection/plugins/modules/project_update.py
@@ -78,8 +78,6 @@ EXAMPLES = '''
'''
from ..module_utils.controller_api import ControllerAPIModule
-import json
-import time
def main():
@@ -126,9 +124,6 @@ def main():
if not wait:
module.exit_json(**module.json_output)
- # Grab our start time to compare against for the timeout
- start = time.time()
-
# Invoke wait function
result = module.wait_on_url(
url=result['json']['url'], object_name=module.get_item_name(project), object_type='Project Update', timeout=timeout, interval=interval