Commit f5b00084 by Brian Coca

Merge pull request #10777 from romain-dartigues/plugins_undefined_names

Undefined names found by pyflakes in plugins/inventory/
parents 1046a396 e38eb258
......@@ -125,6 +125,7 @@ import os
import re
import argparse
from time import time
import sys
import ConfigParser
import urllib, urllib2, base64
......
......@@ -55,7 +55,7 @@ class SoftLayerInventory(object):
self.get_all_servers()
print self.json_format_dict(self.inventory, True)
elif self.args.host:
self.get_virtual_servers(client)
self.get_virtual_servers()
print self.json_format_dict(self.inventory["_meta"]["hostvars"][self.args.host], True)
def to_safe(self, word):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment