Page MenuHomePhabricator

scap l10n-purge broken
Closed, ResolvedPublic

Description

Something was missed in the target.py refactor

$ scap l10n-purge --version 1.28.0-wmf.17
19:19:15 Unhandled error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 256, in run
    exit_status = app.main(app.extra_arguments)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 281, in main
    tasks.purge_l10n_cache(self.arguments.version, self.config)
  File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 287, in purge_l10n_cache
    target_obj = targets.get(cfg)
TypeError: get() takes at least 2 arguments (1 given)
19:19:15 l10n-purge failed: <TypeError> get() takes at least 2 arguments (1 given)

Revisions and Commits

rMSCA Scap
Restricted Differential Revision