Skip to content

Commit 4b48f62

Browse files
committed
2.1.0rc1
1 parent f837c5e commit 4b48f62

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

metadata.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
2-
version: 2.0.3
3-
version_info: (2,0,3,'final',0)
2+
version: 2.1.0rc1
3+
version_info: (2,1,0,'rc',1)
44
description: Python interface to MySQL
55
author: Inada Naoki
66
author_email: [email protected]

setup_common.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ def enabled(options, option):
2626

2727

2828
def create_release_file(metadata):
29-
with open("MySQLdb/release.py", "w") as rel:
29+
with open("MySQLdb/release.py", "w", encoding="utf-8") as rel:
3030
rel.write(
3131
"""
3232
__author__ = "%(author)s <%(author_email)s>"
3333
version_info = %(version_info)s
3434
__version__ = "%(version)s"
35-
"""
36-
% metadata
35+
""" % metadata
3736
)

0 commit comments

Comments
 (0)