We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 477957b commit 2497a7eCopy full SHA for 2497a7e
setup.cfg
@@ -1,6 +1,6 @@
1
[metadata]
2
name = arduino-simple-rpc
3
-version = 2.0.1
+version = 2.0.2
4
description = Arduino simpleRPC API client library and CLI.
5
long_description = file: README.rst
6
author = Jeroen F.J. Laros
simple_rpc/__init__.py
@@ -6,7 +6,8 @@
7
8
config = ConfigParser()
9
-config.read_file(open('{}/setup.cfg'.format(dirname(abspath(__file__)))))
+with open('{}/setup.cfg'.format(dirname(abspath(__file__)))) as handle:
10
+ config.read_file(handle)
11
12
_copyright_notice = 'Copyright (c) {} {} <{}>'.format(
13
config.get('metadata', 'copyright'),
0 commit comments