Merge pull request #443 from drwahl/master

openstack_vms: update novaclient auth
This commit is contained in:
enkore 2016-08-31 16:34:01 +02:00 committed by GitHub
commit 4b38b78b1b
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,7 @@ MOCK_MODULES = [
"requests",
"bs4",
"dota2py",
"novaclient.v2",
"novaclient",
"speedtest_cli",
"pyzabbix",
"vk",

View File

@ -1,6 +1,6 @@
from i3pystatus import IntervalModule
# requires python-novaclient
from novaclient.v2 import client
from novaclient import client
import webbrowser
@ -35,6 +35,7 @@ class Openstack_vms(IntervalModule):
def run(self):
nclient = client.Client(
'2.0',
self.username,
self.password,
self.tenant_name,