Permalink
Browse files

Make optimizations the default

  • Loading branch information...
1 parent 9ce7a75 commit 0467fec275c54f426126b97d73843cfabb1fc3f7 @nmaier committed Apr 28, 2012
Showing with 7 additions and 7 deletions.
  1. +5 −5 scripts/xpisign
  2. +2 −2 xpisign/api.py
View
@@ -23,12 +23,12 @@ def main(args):
default=False,
help="Force signing, i.e. overwrite outfile if it already exists"
)
- optparse.add_option("-o",
- "--optimize",
+ optparse.add_option("-p",
+ "--plain",
dest="optimize",
- action="store_true",
- default=False,
- help="Optimize signatures, avoiding inclusion of weak hashes. Also optimize the compression level."
+ action="store_false",
+ default=True,
+ help="Generate plain XPI without any optimizations."
)
optparse.add_option("-s",
"--signer",
View
@@ -162,8 +162,8 @@ def maybe_optimize_inner_archive(name, content):
def xpisign(xpifile,
keyfile,
outfile=None,
- optimize_signatures=False,
- optimize_compression=False,
+ optimize_signatures=True,
+ optimize_compression=True,
signer=None
):
'''

0 comments on commit 0467fec

Please sign in to comment.