This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import requests | |
import yaml | |
import os | |
def write_yaml_default_assignees(destination_dir, namespace, name, value): | |
yaml_namespace_dir = os.path.join(destination_dir, namespace) | |
yaml_file_path = os.path.join(yaml_namespace_dir, name) | |
print('Writing {0}'.format(yaml_file_path)) | |
if not os.path.isdir(yaml_namespace_dir): |