Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/utils.py

Issue 8851004: Added Opera extension type (Closed)
Patch Set: Created Nov. 13, 2012, 9:46 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sitescripts/extensions/bin/updateDownloadLinks.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/utils.py
===================================================================
--- a/sitescripts/extensions/utils.py
+++ b/sitescripts/extensions/utils.py
@@ -156,16 +156,18 @@ class Configuration(object):
self.type = self.config.get('extensions', self.repositoryName + '_type')
else:
self.type = 'gecko'
if self.type == 'gecko':
self.packageSuffix = '.xpi'
elif self.type == 'chrome':
self.packageSuffix = '.crx'
+ elif self.type == 'opera':
+ self.packageSuffix = '.oex'
elif self.type == 'kmeleon':
self.packageSuffix = '.zip'
elif self.type == 'android':
self.packageSuffix = '.apk'
if self.nightlyConfig and not self.nightlyConfig.has_section(self.repositoryName):
self.nightlyConfig.add_section(self.repositoryName)
« no previous file with comments | « sitescripts/extensions/bin/updateDownloadLinks.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld