浏览代码

Allow shortcuts as a positional argument again

Thomas Kluyver 7 年之前
父节点
当前提交
d0c58e2a96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nsist/__init__.py

+ 1 - 1
nsist/__init__.py

@@ -90,7 +90,7 @@ class InstallerBuilder(object):
     :param str installer_name: Filename of the installer to produce
     :param str nsi_template: Path to a template NSI file to use
     """
-    def __init__(self, appname, version, *, shortcuts, publisher=None,
+    def __init__(self, appname, version, shortcuts, *, publisher=None,
                 icon=DEFAULT_ICON, packages=None, extra_files=None,
                 py_version=DEFAULT_PY_VERSION, py_bitness=DEFAULT_BITNESS,
                 py_format='bundled', inc_msvcrt=True, build_dir=DEFAULT_BUILD_DIR,