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

Unified Diff: packagerSafari.py

Issue 4812956214755328: Issue 1766 - Don't skip creating the *.safariextenstion folder when creating devenv for Safari (Closed)
Patch Set: Created Jan. 8, 2015, 4:44 p.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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packagerSafari.py
===================================================================
--- a/packagerSafari.py
+++ b/packagerSafari.py
@@ -247,13 +247,11 @@
fixAbsoluteUrls(files)
- if not devenv:
- dirname = metadata.get('general', 'basename') + '.safariextension'
- for filename in files.keys():
- files[os.path.join(dirname, filename)] = files.pop(filename)
+ dirname = metadata.get('general', 'basename') + '.safariextension'
+ for filename in files.keys():
+ files[os.path.join(dirname, filename)] = files.pop(filename)
- if keyFile:
- createSignedXarArchive(outFile, files, keyFile)
- return
-
- files.zip(outFile)
+ if not devenv and keyFile:
+ createSignedXarArchive(outFile, files, keyFile)
+ else:
+ files.zip(outFile)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld