Skip to content

Commit

Permalink
Trac #30648: sage --package download is broken
Browse files Browse the repository at this point in the history
{{{
$ sage --package download cbc
Traceback (most recent call last):
  File "/home/slabbe/GitBox/sage/build/bin/sage-package", line 42, in
<module>
    run()
  File
"/home/slabbe/GitBox/sage/build/bin/../sage_bootstrap/cmdline.py", line
318, in run
    app.download_cls(args.package_name, args.allow_upstream)
TypeError: download_cls() takes exactly 2 arguments (3 given)
}}}

URL: https://trac.sagemath.org/30648
Reported by: slabbe
Ticket author(s): Sébastien Labbé
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Nov 15, 2020
2 parents ffa1106 + e463513 commit f0ac785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/sage_bootstrap/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def run():
else:
app.update_latest(args.package_name)
elif args.subcommand == 'download':
app.download_cls(args.package_name, args.allow_upstream)
app.download(args.package_name, args.allow_upstream)
elif args.subcommand == 'create':
app.create(args.package_name, args.version, args.tarball, args.type, args.url)
elif args.subcommand == 'upload':
Expand Down

0 comments on commit f0ac785

Please sign in to comment.