Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bc5e2ce authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "conv_linker_config proto works with empty input"

parents 80ebd729 b531beec
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ from google.protobuf.text_format import MessageToString

def Proto(args):
    pb = linker_config_pb2.LinkerConfig()
    if args.source:
        for input in args.source.split(':'):
            json_content = ''
            with open(input) as f:
@@ -104,7 +105,7 @@ def GetArgParser():
    parser_proto.add_argument(
        '-s',
        '--source',
        required=True,
        nargs='?',
        type=str,
        help='Colon-separated list of linker configuration files in JSON.')
    parser_proto.add_argument(