mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #2450 from pypa/bugfix/2449
Ensure we use unicode for proper names db
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Pipenv will now ensure that its internal package names registry files are written with unicode strings.
|
||||
+1
-1
@@ -363,7 +363,7 @@ class Project(object):
|
||||
def register_proper_name(self, name):
|
||||
"""Registers a proper name to the database."""
|
||||
with self.proper_names_db_path.open('a') as f:
|
||||
f.write('{0}\n'.format(name))
|
||||
f.write(u'{0}\n'.format(name))
|
||||
|
||||
@property
|
||||
def pipfile_location(self):
|
||||
|
||||
Reference in New Issue
Block a user