Fixup problem
This commit is contained in:
parent
a368060f75
commit
604f4b5879
|
@ -56,10 +56,10 @@ CONFIG_FILES = [
|
|||
|
||||
class POWERProxy():
|
||||
|
||||
def __init__(self, user, ssh_key, hosts,
|
||||
def __init__(self, user, hosts,
|
||||
repository, password):
|
||||
if None in [user, ssh_key, hosts, repository]:
|
||||
raise Exception('Missing configuration')
|
||||
if None in [user, hosts, repository]:
|
||||
raise ValueError('Missing configuration')
|
||||
self.user = user
|
||||
self.hosts = hosts.split()
|
||||
self.repository = repository
|
||||
|
|
Loading…
Reference in New Issue