robinedwards / gitfeatures

git helper scripts for feature and hotfixes branches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors with missing arguments

robinedwards opened this issue · comments

(venv)rob@braeburn:~/dev/foo ~master*$ g feature
Traceback (most recent call last):
File "/Users/rob/.pythonbrew/pythons/Python-2.7.2/bin/git-feature", line 7, in
execfile(file)
File "/Users/rob/dev/gitfeatures/scripts/git-feature", line 6, in
gitfeatures.run('feature', sys.argv[1:])
File "/Users/rob/dev/gitfeatures/gitfeatures/core.py", line 77, in run
if args[0].lower() == 'new':
IndexError: list index out of range

fixed on master