#N/A: Monkeypatch pathlib on windows

This commit is contained in:
Vladimir Iakovlev
2016-08-14 15:15:03 +03:00
parent 176924c18d
commit 621b455334
9 changed files with 27 additions and 14 deletions
+2 -7
View File
@@ -9,11 +9,8 @@ from decorator import decorator
from difflib import get_close_matches
from functools import wraps
from warnings import warn
try:
from pathlib import Path
except ImportError:
from pathlib2 import Path
from .conf import settings
from .system import Path
DEVNULL = open(os.devnull, 'w')
@@ -81,8 +78,6 @@ def default_settings(params):
print(settings.apt)
"""
from .conf import settings
def _default_settings(fn, command):
for k, w in params.items():
settings.setdefault(k, w)