Index: sitescripts/extensions/bin/createNightlies.py |
=================================================================== |
--- a/sitescripts/extensions/bin/createNightlies.py |
+++ b/sitescripts/extensions/bin/createNightlies.py |
@@ -31,9 +31,7 @@ |
from urllib import urlencode |
from xml.dom.minidom import parse as parseXml |
from sitescripts.utils import get_config, setupStderr, get_template |
-from sitescripts.extensions.utils import ( |
- compareVersions, Configuration, getSafariCertificateID, |
- writeAndroidUpdateManifest) |
+from sitescripts.extensions.utils import compareVersions, Configuration, writeAndroidUpdateManifest |
Wladimir Palant
2015/07/16 20:47:08
This line is still too long - please break it into
Sebastian Noack
2015/07/17 11:10:59
Done.
|
MAX_BUILDS = 50 |
@@ -193,8 +191,9 @@ |
def readSafariMetadata(self): |
import buildtools.packagerSafari as packager |
metadata = packager.readMetadata(self.tempdir, self.config.type) |
+ certs = packager.get_certificates_and_key(self.config.keyFile)[0] |
- self.certificateID = getSafariCertificateID(self.config.keyFile) |
+ self.certificateID = packager.get_developer_identifier(certs) |
self.version = packager.getBuildVersion(self.tempdir, metadata, False, self.revision) |
self.shortVersion = metadata.get("general", "version") |
self.basename = metadata.get("general", "basename") |