From b0ba3aea15abe2cc5059a9267cada558fe3915af Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 20 Feb 2014 11:05:34 -0800 Subject: [PATCH] server: Don't use a keyword for the path argument to makedirs Despite being documented as path [1], using a keyword argument raises a TypeError: TypeError: makedirs() got an unexpected keyword argument 'path' [1]: http://docs.python.org/3/library/os.html#os.makedirs --- package_cache/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_cache/server.py b/package_cache/server.py index 4f1e6b0..4cb6597 100644 --- a/package_cache/server.py +++ b/package_cache/server.py @@ -17,7 +17,7 @@ class Server (object): self.sources = sources self.cache = cache if not _os.path.isdir(self.cache): - _os.makedirs(path=self.cache, exist_ok=True) + _os.makedirs(self.cache, exist_ok=True) def __call__(self, environ, start_response): try: -- 2.26.2