Skip to content

Commit b2103fb

Browse files
authored
Merge pull request #1 from holiestofhandgrenades/version2
Version 0.2.0
2 parents a743f7c + 4f31e34 commit b2103fb

4 files changed

Lines changed: 3 additions & 16 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ ENV/
101101
# mypy
102102
.mypy_cache/
103103

104-
.vscode/launch.json
104+
.vscode/

pynzbgetapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __proxy_call(self, method_call):
5252
try:
5353
# Internal method to transalte xmlrpc exceptions to library ones.
5454
return method_call()
55-
except xmlrpc.client.Error as err:
55+
except (xmlrpc.client.Error, ConnectionError) as err:
5656
raise NZBGetAPIException(str(err)) from None
5757

5858
def version(self):

setup.cfg

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
[bumpversion]
2-
current_version = 0.1.0
3-
commit = True
4-
tag = True
5-
6-
[bumpversion:file:setup.py]
7-
search = version='{current_version}'
8-
replace = version='{new_version}'
9-
10-
[bumpversion:file:pynzbgetapi/__init__.py]
11-
search = __version__ = '{current_version}'
12-
replace = __version__ = '{new_version}'
13-
141
[bdist_wheel]
152
universal = 1
163

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
name='pynzbgetapi',
2727
packages=find_packages(include=['pynzbgetapi']),
2828
url='https://github.com/holiestofhandgrenades/pynzbgetapi',
29-
version='0.1.0',
29+
version='0.2.0',
3030
zip_safe=True,
3131
)

0 commit comments

Comments
 (0)