mirror of https://github.com/apache/cloudstack.git
Marvin: Fix deployDataCenter's cleanup (#7521)
This commit is contained in:
parent
44024a8a8b
commit
83fd75f707
|
|
@ -1133,7 +1133,7 @@ class DeleteDataCenters:
|
|||
print("\n====DeployDC: CleanUp Started====")
|
||||
ret = FAILED
|
||||
if self.__dcCfgFile:
|
||||
file_to_read = open(self.__dcCfgFile, 'r')
|
||||
file_to_read = open(self.__dcCfgFile, 'rb')
|
||||
if file_to_read:
|
||||
self.__dcCfg = pickle.load(file_to_read)
|
||||
if self.__dcCfg:
|
||||
|
|
|
|||
Loading…
Reference in New Issue