Skip to content

Commit 68bc426

Browse files
committed
Merge branch 'release/v1.0.0b2'
2 parents 485d5b7 + 981f88e commit 68bc426

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

docs/source/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
Version 1.0.0b2 (beta version)
5+
------------------------------
6+
7+
*Release date: 2021/01/08*
8+
9+
* fixed: parentheses are now allowed in names specified by using the ``--name`` switch
10+
411
Version 1.0.0b1 (beta version)
512
------------------------------
613

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# The short X.Y version.
5151
version = '1.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '1.0.0.dev4'
53+
release = '1.0.0b2'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.

src/py3createtorrent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# Do not touch anything below this line unless you know what you're doing!
4444

45-
__version__ = '1.0.0b1'
45+
__version__ = '1.0.0b2'
4646

4747
# Note:
4848
# Kilobyte = kB = 1000 Bytes
@@ -906,10 +906,10 @@ def main() -> None:
906906
if args.name:
907907
args.name = args.name.strip()
908908

909-
regexp = re.compile(r"^[A-Z0-9_\-., ]+$", re.I)
909+
regexp = re.compile(r"^[A-Z0-9_\-., ()]+$", re.I)
910910

911911
if not regexp.match(args.name):
912-
parser.error("Invalid name: '%s'. Allowed chars: A_Z, a-z, 0-9, any of {.,_-} plus spaces." % args.name)
912+
parser.error("Invalid name: '%s'. Allowed chars: A_Z, a-z, 0-9, any of {.,_-()} plus spaces." % args.name)
913913

914914
metainfo['info']['name'] = args.name
915915

0 commit comments

Comments
 (0)