Quick question, probably quite a simple matter. Take the follow start of
a method:
def review(filesNee dingReview):
for item in filesNeedingRev iew:
(tightestOwner, logMsg) = item
if (logMsg != None):
for logInfo in logMsg.changed_ paths:
This generates the error:
UnboundLocalErr or: local variable 'logMsg' referenced before assignment
I thought I'd assigned it in the "(tightestOwner , logMsg) = item" line -
so in the python interpreter complaining about the fact this assignment
might not go well?
Thanks!
Comment