зеркало из https://github.com/mozilla/pjs.git
Bug 622398 - automation.py.in: add missing early return_s to installExtension(); (Av1) Just add them.
r=ctalbert a=(test only).
This commit is contained in:
Родитель
43426109b4
Коммит
52cb5065f4
|
@ -926,9 +926,11 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
|
|||
def installExtension(self, extensionSource, profileDir, extensionID):
|
||||
if (not os.path.exists(extensionSource)):
|
||||
self.log.info("INFO | automation.py | Cannot install extension no source at: %s", extensionSource)
|
||||
return
|
||||
|
||||
if (not os.path.exists(profileDir)):
|
||||
self.log.info("INFO | automation.py | Cannot install extension invalid profileDir at: %s", profileDir)
|
||||
return
|
||||
|
||||
# See if we have an XPI or a directory
|
||||
if (os.path.isfile(extensionSource)):
|
||||
|
|
Загрузка…
Ссылка в новой задаче