#N/A: Monkeypatch pathlib on windows
This commit is contained in:
+2
-7
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user