Fixes flake8 errors

This commit is contained in:
Tarcisio Fedrizzi 2016-02-27 12:36:13 +01:00
parent 67ebdc6eb6
commit 79ad65ee64

View File

@ -336,11 +336,12 @@ def raise_cmdexc_if_invalid(url):
if not url.isValid():
raise cmdexc.CommandError(get_errstring(url))
def get_path_if_valid(pathstr, cwd=None, relative=False, check_exists=False):
"""Check if path is a valid path
"""Check if path is a valid path.
Args:
pathstr: The path as string
pathstr: The path as string.
Return:
True if it is a valid path, False otherwise.