mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
python-apispec: remove obsolete patch
This commit is contained in:
parent
d845041feb
commit
e69f15756f
@ -1,12 +0,0 @@
|
||||
diff -uNr apispec-0.39.0-orig/setup.py apispec-0.39.0-patched/setup.py
|
||||
--- apispec-0.39.0-orig/setup.py 2018-06-29 05:50:26.000000000 +0300
|
||||
+++ apispec-0.39.0-patched/setup.py 2019-01-24 23:36:41.947206745 +0200
|
||||
@@ -13,7 +13,7 @@
|
||||
Raises RuntimeError if not found.
|
||||
"""
|
||||
version = ''
|
||||
- with open(fname, 'r') as fp:
|
||||
+ with open(fname, 'r', encoding='utf-8') as fp:
|
||||
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
|
||||
for line in fp:
|
||||
m = reg.match(line)
|
Loading…
x
Reference in New Issue
Block a user