| Index: client/utils/file_path.py
|
| diff --git a/client/utils/file_path.py b/client/utils/file_path.py
|
| index 04294330ce8b510c77253826c7478f73cf424632..02cf766be9848bcfa8c0415fed9093d192baa377 100644
|
| --- a/client/utils/file_path.py
|
| +++ b/client/utils/file_path.py
|
| @@ -873,6 +873,7 @@ def rmtree(root):
|
| """
|
| # Do not assert here yet because this would break too much code.
|
| root = unicode(root)
|
| + assert sys.getdefaultencoding() == 'utf-8', sys.getdefaultencoding()
|
| make_tree_deleteable(root)
|
| logging.info('rmtree(%s)', root)
|
|
|
|
|