aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-02-17 23:13:19 +0100
committerGuido Günther <agx@sigxcpu.org>2016-02-17 23:13:19 +0100
commit16516c79cf8710f55c0aed673d3ba66f8c3f3a29 (patch)
tree58f76997465033817ce66bf6059477477c87e486
parent07d7d5f42ad84047f0512a28bc0136c4eed53ff8 (diff)
parent6fc122e1fdbcd63657b0b8769a69c292d695e881 (diff)
Merge pull request #3 from brandonweeks/fix_typo
fix typo
-rwxr-xr-xforeman_ansible_inventory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/foreman_ansible_inventory.py b/foreman_ansible_inventory.py
index bb2f6d4..aec58c4 100755
--- a/foreman_ansible_inventory.py
+++ b/foreman_ansible_inventory.py
@@ -77,7 +77,7 @@ class ForemanInventory(object):
current_time = time()
if (mod_time + self.cache_max_age) > current_time:
if (os.path.isfile(self.cache_path_inventory) and
- os.path.osfile(self.cache_path_params)):
+ os.path.isfile(self.cache_path_params)):
return True
return False