Ticket #1463 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

getcluster prints a traceback on a bad version number

Reported by: jdreed Owned by:
Priority: low Milestone: Current Semester
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

Traceback (most recent call last):
  File "/usr/bin/getcluster", line 218, in <module>
    sys.exit(main())
  File "/usr/bin/getcluster", line 177, in main
    elif vercmp(vers, ws_version) < 0:
  File "/usr/bin/getcluster", line 46, in vercmp
    v2l = map(int, map(lambda x: 0 if x is None else x, re.search('^(\d+)(?:\.(\d+)){0,1}',v2).groups()))
AttributeError: 'NoneType' object has no attribute 'groups'

Change History

comment:1 Changed 10 years ago by jdreed

  • Status changed from new to review

comment:2 Changed 10 years ago by jdreed

  • Status changed from review to development

comment:3 Changed 10 years ago by jdreed

  • Status changed from development to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.