Commit 27cae34b authored by Benjamin Peterson's avatar Benjamin Peterson

allow Process name to be unicode #7571

parent ca8e7ec2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment