Index: sitescripts/extensions/bin/updateUpdateManifests.py |
=================================================================== |
--- a/sitescripts/extensions/bin/updateUpdateManifests.py |
+++ b/sitescripts/extensions/bin/updateUpdateManifests.py |
@@ -25,11 +25,14 @@ |
import os |
import re |
import subprocess |
+from ConfigParser import SafeConfigParser |
+ |
from buildtools.packagerGecko import KNOWN_APPS |
-from ConfigParser import SafeConfigParser |
+from buildtools.packagerSafari import get_developer_identifier, get_certificates_and_key |
Wladimir Palant
2015/07/16 20:47:08
Nit: This line is too long.
Sebastian Noack
2015/07/17 11:10:59
Done.
|
+ |
from sitescripts.utils import get_config, get_template |
from sitescripts.extensions.utils import ( |
- Configuration, getDownloadLinks, getSafariCertificateID, |
+ Configuration, getDownloadLinks, |
writeIEUpdateManifest, writeAndroidUpdateManifest) |
from sitescripts.extensions.android import get_min_sdk_version |
@@ -52,7 +55,7 @@ |
elif repo.type == 'safari': |
metadata = repo.readMetadata(version) |
return { |
- 'certificateID': getSafariCertificateID(repo.keyFile), |
+ 'certificateID': get_developer_identifier(get_certificates_and_key(repo.keyFile)[0]), |
Wladimir Palant
2015/07/16 20:47:08
Nit: This line is too long.
Sebastian Noack
2015/07/17 11:10:59
Done.
|
'version': version, |
'shortVersion': version, |
'basename': metadata.get('general', 'basename'), |