Parcourir la source

Fix Snakefile

Ryan C. Thompson il y a 9 ans
Parent
commit
49fecad2d7
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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