Skip to content

Commit f709700

Browse files
authored
Fix maxsplit usage (#572)
1 parent 8d70d27 commit f709700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_releaser/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def bump_version(version_spec, version_cmd, changelog_path, python_packages, tag
379379
prev_dir = os.getcwd()
380380
for package in python_packages:
381381
package_path, package_name = (
382-
package.split(":", maxsplit=2) if ":" in package else [package, None]
382+
package.split(":", maxsplit=1) if ":" in package else [package, None]
383383
)
384384
os.chdir(package_path)
385385
lib.bump_version(

0 commit comments

Comments
 (0)