Skip to content

Instantly share code, notes, and snippets.

@fables-tales
Created November 10, 2014 13:31
Show Gist options
  • Save fables-tales/8f58a33bc05cd847c38c to your computer and use it in GitHub Desktop.
Save fables-tales/8f58a33bc05cd847c38c to your computer and use it in GitHub Desktop.
venv)vagrant-ubuntu-trusty-64 (master)# python3 validate-reachability.py comp/main comp/
Traceback (most recent call last):
File "validate-reachability.py", line 30, in <module>
ticket = str(element.with_suffix(''))
File "/usr/lib/python3.4/pathlib.py", line 760, in with_suffix
raise ValueError("Invalid suffix %r" % (suffix))
ValueError: Invalid suffix ''
(venv)vagrant-ubuntu-trusty-64 (master)# python3 validate-reachability.py comp/main.yaml comp/
Traceback (most recent call last):
File "validate-reachability.py", line 30, in <module>
ticket = str(element.with_suffix(''))
File "/usr/lib/python3.4/pathlib.py", line 760, in with_suffix
raise ValueError("Invalid suffix %r" % (suffix))
ValueError: Invalid suffix ''
(venv)vagrant-ubuntu-trusty-64 (master)#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment