py_git_stat.py_git_stat()
Traceback (most recent call last):
Listing git statuses for /Users/am034402/Workspace/py_git_stat
File "/Users/am034402/Envs/py_git_status/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2882, in run_code
--------------------------------------------------------------------------------
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-3-0fb7636be74f>", line 1, in <module>
py_git_stat.py_git_stat()
File "/Users/am034402/Workspace/py_git_stat/py_git_stat/__init__.py", line 41, in py_git_stat
longest_repo_name = (get_longest_element(status_results)) + 1
File "/Users/am034402/Workspace/py_git_stat/py_git_stat/__init__.py", line 68, in get_longest_element
return (len(max(focus, key=len)))
ValueError: max() arg is an empty sequence
This needs a test developed for it, and a fix.