tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

post_dummy.py (501B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 
      6 from taskgraph.transforms.base import TransformSequence
      7 
      8 transforms = TransformSequence()
      9 
     10 
     11 @transforms.add
     12 def set_name_and_clear_artifacts(config, tasks):
     13    for task in tasks:
     14        task["name"] = task["attributes"]["build-type"]
     15        task["attributes"]["artifacts"] = {}
     16        yield task