Skip to content

Commit 7d9942e

Browse files
authored
fix: correct misuse of parentheses in shutil.copy example (#4144)
1 parent ec167e9 commit 7d9942e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/conanfile/attributes/sources.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ or even better, from ``self.export_sources_folder``.
8383
save(self, "CMakeLists.txt", "MISTAKE: Very old CMakeLists to be replaced")
8484
# Now I fix it with one of the exported files
8585
shutil.copy("../CMakeLists.txt", ".")
86-
shutil.copy(os.path.join(self.export_sources_folder, "CMakeLists.txt", "."))
86+
shutil.copy(os.path.join(self.export_sources_folder, "CMakeLists.txt"), ".")
8787
8888
8989
.. seealso::

0 commit comments

Comments
 (0)