inventory-manage.py fails with syntax error when removing items
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Joel Griffiths |
Bug Description
There are two errors in the lib/manage.py:
Syntax Error: seprator should be separator.
Function Call Error: filesys.
scripts/
Traceback (most recent call last):
File "scripts/
manage.main()
File "/opt/openstack
seprators=(',', ': '))
File "/usr/lib/
sort_
TypeError: __init__() got an unexpected keyword argument 'seprators'
I've fixed it locally with this patch. Hoping to upload the fix myself:
diff --git a/lib/manage.py b/lib/manage.py
index 74b2e7e..4ad77e1 100644
--- a/lib/manage.py
+++ b/lib/manage.py
@@ -25,6 +25,8 @@ import prettytable
import dictutils as du
import filesystem as filesys
+import os.path
+
def args():
"""Setup argument Parsing."""
@@ -331,8 +333,8 @@ def main():
else:
- seprators=(',', ': '))
- filesys.
+ separators=(',', ': '))
+ filesys.
if __name__ == "__main__":
Changed in openstack-ansible: | |
assignee: | nobody → Joel Griffiths (joelgriffiths) |
Changed in openstack-ansible: | |
status: | New → Confirmed |
Fix proposed to branch: master /review. openstack. org/433802
Review: https:/