mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
python/mozbuild: Remove use of file() and universal newline mode.
This commit is contained in:
parent
36a47ef1e4
commit
19b3b3ca90
@ -150,7 +150,7 @@ class VirtualenvManager(object):
|
||||
return self.virtualenv_root
|
||||
|
||||
def packages(self):
|
||||
with file(self.manifest_path, 'rU') as fh:
|
||||
with open(self.manifest_path, 'r') as fh:
|
||||
packages = [line.rstrip().split(':')
|
||||
for line in fh]
|
||||
return packages
|
||||
|
Loading…
Reference in New Issue
Block a user