#3804 closed defect (fixed)

sb-get-sources: Error repo_mail referenced before assignment

Reported by: Joel Sherrill Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: tool/rsb Version: 5
Severity: normal Keywords:
Cc: Blocked By:


This occurred on CentOS 7 with Python 2.7.5 and 3.6.

$ ../source-builder/sb-get-sources   bare/qemu
RTEMS Source Builder - Get Sources, 5 (5ecf0181b494)
Traceback (most recent call last):
  File "../source-builder/sb/cmd-get-sources.py", line 26, in <module>
  File "/home/joel/rtems-work/rtems-source-builder/source-builder/sb/getsources.py", line 631, in run
    opts = load_options(args, argopts)
  File "/home/joel/rtems-work/rtems-source-builder/source-builder/sb/getsources.py", line 588, in load_options
    opts = options(argv, argopts, defaults)
  File "/home/joel/rtems-work/rtems-source-builder/source-builder/sb/getsources.py", line 167, in __init__
  File "/home/joel/rtems-work/rtems-source-builder/source-builder/sb/getsources.py", line 276, in sb_git
    if repo_mail is not None:
UnboundLocalError: local variable 'repo_mail' referenced before assignment

Change History (1)

comment:1 Changed on Apr 5, 2020 at 4:50:56 AM by Gedare Bloom

Resolution: fixed
Status: assignedclosed

This appears to have been fixed in [443b8ce3/rtems-source-builder]

Note: See TracTickets for help on using tickets.