trac-admin add is broken
|Reported by:||shumisha@…||Owned by:||Blackhex|
Description (last modified by rjollos)
Trying to add file using trac-admin:
trac-admin /var/trac/my_trac/ download add my_file.php.zip description="Latest version of my_file"
I got the following error:
AttributeError: 'DownloadsApi' object has no attribute 'store_download'
I fixed it by replacing:
api.store_download(context, download, file)
api._add_download( context, download, file)
Change History (5)
comment:4 Changed 23 months ago by rjollos
- Resolution set to fixed
- Status changed from new to closed