Skip to content
  • Hans-Christoph Steiner's avatar
    ad960c6e
    remove last `maven:` quirks and make it always a string · ad960c6e
    Hans-Christoph Steiner 创作于
    It turns out that the maven: field was originally declared as a TYPE_STRING,
    given that it was not given a different type in metadata.py's 	flagtypes.
    The code was confused because it was given a default value of `False` rather
    than `None` as the rest of the TYPE_STRING fields have.
    
    This construct in build.py means maven: should always be a string:
    
            if '@' in build.maven:
                maven_dir = os.path.join(root_dir, build.maven.split('@', 1)[1])
            else:
                maven_dir = root_dir
    ad960c6e
    remove last `maven:` quirks and make it always a string
    Hans-Christoph Steiner 创作于
    It turns out that the maven: field was originally declared as a TYPE_STRING,
    given that it was not given a different type in metadata.py's 	flagtypes.
    The code was confused because it was given a default value of `False` rather
    than `None` as the rest of the TYPE_STRING fields have.
    
    This construct in build.py means maven: should always be a string:
    
            if '@' in build.maven:
                maven_dir = os.path.join(root_dir, build.maven.split('@', 1)[1])
            else:
                maven_dir = root_dir
要在任何这些版本中查找此项目存储库的状态,请检查 标签。.
加载中