瀏覽代碼

Fix Snakefile

Ryan C. Thompson 9 年之前
父節點
當前提交
49fecad2d7
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      Snakefile

+ 1 - 3
Snakefile

@@ -7,7 +7,6 @@ import regex
 from collections import Iterable, Mapping  # in Python 3 use from collections.abc
 from collections import Iterable, Mapping  # in Python 3 use from collections.abc
 from distutils.spawn import find_executable
 from distutils.spawn import find_executable
 from fnmatch import fnmatch
 from fnmatch import fnmatch
-from kwonly import kwonly
 from subprocess import check_output, check_call
 from subprocess import check_output, check_call
 from tempfile import NamedTemporaryFile
 from tempfile import NamedTemporaryFile
 
 
@@ -80,8 +79,7 @@ LYXPATH = find_executable("lyx") or \
     os.path.join(find_mac_app("LyX"), "Contents/MacOS/lyx") or \
     os.path.join(find_mac_app("LyX"), "Contents/MacOS/lyx") or \
     '/bin/false'
     '/bin/false'
 
 
-@kwonly(0)
-def rsync_list_files(extra_rsync_args=(), include_dirs=False, *paths):
+def rsync_list_files(*paths, extra_rsync_args=(), include_dirs=False):
     """Iterate over the files in path that rsync would copy.
     """Iterate over the files in path that rsync would copy.
 
 
 By default, only files are listed, not directories, since doit doesn't
 By default, only files are listed, not directories, since doit doesn't