allow Process name to be unicode #7571

This commit is contained in:
Benjamin Peterson 2009-12-24 15:19:40 +00:00
parent ca8e7ec216
commit 27cae34bd0
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class Process(object):
@name.setter
def name(self, name):
assert isinstance(name, str), 'name must be a string'
assert isinstance(name, basestring), 'name must be a string'
self._name = name
@property