def CMDweb(parser, args):
    'Opens the current CL in the web browser.'
    (_, args) = parser.parse_args(args)
    if args:
        parser.error(('Unrecognized args: %s' % ' '.join(args)))
    issue_url = Changelist().GetIssueURL()
    if (not issue_url):
        print('ERROR No issue to open', file=sys.stderr)
        return 1
    webbrowser.open(issue_url)
    return 0
Opens the current CL in the web browser.
def CMDweb(parser, args):
    
    (_, args) = parser.parse_args(args)
    if args:
        parser.error(('Unrecognized args: %s' % ' '.join(args)))
    issue_url = Changelist().GetIssueURL()
    if (not issue_url):
        print('ERROR No issue to open', file=sys.stderr)
        return 1
    webbrowser.open(issue_url)
    return 0