Ticket #1463 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
https://github.com/mit-athena/getcluster/pull/1