Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-6380

Fix addVersion.py to import methods from scriptutil correctly

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1, 6.0
    • None
    • None
    • Patch Available

    Description

      Running addVersion.py during the release process leads to the following error:

      /dev/lw/projects/lucene_solr_5_1$ python3 -u dev-tools/scripts/addVersion.py
      Traceback (most recent call last):
      File "dev-tools/scripts/addVersion.py", line 214, in <module>
      main()
      File "dev-tools/scripts/addVersion.py", line 185, in main
      c = read_config()
      File "dev-tools/scripts/addVersion.py", line 163, in read_config
      parser.add_argument('version', type=Version.parse)
      NameError: global name 'Version' is not defined

      Attachments

        1. LUCENE-6380.patch
          2 kB
          Anshum Gupta

        Activity

          People

            anshum Anshum Gupta
            anshum Anshum Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: