Skip to content

Commit

Permalink
Undefined names found by pyflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-dartigues committed Apr 19, 2015
1 parent f4172fb commit e38eb25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/inventory/consul_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
import re
import argparse
from time import time
import sys
import ConfigParser
import urllib, urllib2, base64

Expand Down
2 changes: 1 addition & 1 deletion plugins/inventory/softlayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self):
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):
Expand Down

0 comments on commit e38eb25

Please sign in to comment.