Commit fc7ad764 by Sébastien Eustace

Fix an error in cache:clear for Python 2.7

parent ec668d5f
......@@ -30,6 +30,7 @@
- Fixed excluded files appearing in the `package_data` of the generated `setup.py`.
- Fixed transitive directory dependencies installation.
- Fixed file permissions for configuration and authentication files.
- Fixed an error in `cache:clear` for Python 2.7.
## [0.11.5] - 2018-09-04
......
......@@ -45,7 +45,7 @@ class CacheClearCommand(Command):
"{} caches".format(parts[0])
)
if not os.path.exists(cache_dir):
if not os.path.exists(str(cache_dir)):
self.line("No cache entries for {}".format(parts[0]))
return 0
......
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