Skip to content

Commit ac689e2

Browse files
committed
implementation to handle .podspec files
Signed-off-by: rpotter12 <rohitpotter12@gmail.com>
1 parent cb3d120 commit ac689e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/packagedcode/podspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def parse_podspec(location):
176176
"""
177177
Method to handle podspec files.
178178
"""
179-
contents = open(location).readlines()
179+
contents = io.open(location, encoding='utf-8').readlines()
180180
podspec_data = {}
181181
for line in contents:
182182
line = preprocess(line)

0 commit comments

Comments
 (0)