Merge pull request #443 from drwahl/master
openstack_vms: update novaclient auth
This commit is contained in:
commit
4b38b78b1b
@ -31,7 +31,7 @@ MOCK_MODULES = [
|
||||
"requests",
|
||||
"bs4",
|
||||
"dota2py",
|
||||
"novaclient.v2",
|
||||
"novaclient",
|
||||
"speedtest_cli",
|
||||
"pyzabbix",
|
||||
"vk",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user