1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Undefined names found by pyflakes

This commit is contained in:
Romain Dartigues 2015-04-19 18:18:52 +02:00
parent f4172fb9da
commit e38eb2589a
2 changed files with 2 additions and 1 deletions

View file

@ -125,6 +125,7 @@ import os
import re
import argparse
from time import time
import sys
import ConfigParser
import urllib, urllib2, base64

View file

@ -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):