mirror of https://github.com/apache/cloudstack.git
Formatting the get_gateway() method in the CsDatabag.py file
This commit is contained in:
parent
3cfc4cff80
commit
595fa50b3b
|
|
@ -143,6 +143,7 @@ class CsCmdLine(CsDataBag):
|
|||
md5 = hashlib.md5()
|
||||
md5.update(passwd)
|
||||
return md5.hexdigest()
|
||||
|
||||
def get_gateway(self):
|
||||
if "gateway" in self.idata():
|
||||
return self.idata()['gateway']
|
||||
|
|
|
|||
Loading…
Reference in New Issue