[Python-checkins] cpython: Removes lingering references to RAR now that make_zip.py actually makes a ZIP

steve.dower python-checkins at python.org
Sat May 23 01:22:47 CEST 2015


https://hg.python.org/cpython/rev/0308ee35181c
changeset:   96219:0308ee35181c
user:        Steve Dower <steve.dower at microsoft.com>
date:        Fri May 22 16:22:27 2015 -0700
summary:
  Removes lingering references to RAR now that make_zip.py actually makes a ZIP

files:
  Tools/msi/make_zip.py |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Tools/msi/make_zip.py b/Tools/msi/make_zip.py
--- a/Tools/msi/make_zip.py
+++ b/Tools/msi/make_zip.py
@@ -113,17 +113,14 @@
     parser.add_argument('-t', '--temp', metavar='dir', help='A directory to temporarily extract files into', type=Path, default=None)
     parser.add_argument('-e', '--embed', help='Create an embedding layout', action='store_true', default=False)
     parser.add_argument('-a', '--arch', help='Specify the architecture to use (win32/amd64)', type=str, default="win32")
-    parser.add_argument('--rar', help='Full path to WinRAR compressor (rar.exe)', type=Path, default=Path("rar.exe"))
     ns = parser.parse_args()
 
     source = ns.source or (Path(__file__).parent.parent.parent)
     out = ns.out
     arch = ns.arch
-    rar = getattr(ns, 'rar')
     assert isinstance(source, Path)
     assert isinstance(out, Path)
     assert isinstance(arch, str)
-    assert isinstance(rar, Path)
 
     if ns.temp:
         temp = ns.temp

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list