seomoz/shovel — Issue #1: Fails to recognize arguments
Author: davidann
Created: 2012-01-13 23:33:45+00:00
State: open

I've the following task:

@task
def findArchivedSeries(fn="hi", i="mom"):
'''filename is a file which contains a list of series ids (one series id
per line). It prints out series which are considered by the custom crawler
to be archived, but should be active according to CMOZ.'''
print fn, i

I then run:

dave@dave-laptop:~/attercob (cc415)$ shovel status.findArchivedSeries --fn hvhv --i lyufg

I get an error:

[ERROR] Failed to run task findArchivedSeries
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/shovel/__init__.py", line 227, in __call__
f(*args, **kwargs)
TypeError: findArchivedSeries() got multiple values for keyword argument 'i'

I'm using shovel=0.1.3