зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1322993 - Guard against deleting nonexistent directory during emulator cleanup; r=whimboo
MozReview-Commit-ID: 7hopCdbHhj1 --HG-- extra : rebase_source : 64fcb946246aa89a00d2039f3cfbf6cdf24c62fc
This commit is contained in:
Родитель
bf98e812cb
Коммит
63a91ec1cf
|
@ -165,7 +165,8 @@ class BaseEmulator(Device):
|
|||
self.connected = False
|
||||
|
||||
# Remove temporary files
|
||||
shutil.rmtree(self.tmpdir)
|
||||
if os.path.isdir(self.tempdir):
|
||||
shutil.rmtree(self.tmpdir)
|
||||
|
||||
def _get_telnet_response(self, command=None):
|
||||
output = []
|
||||
|
|
Загрузка…
Ссылка в новой задаче