bug = Bug(id)
comment = Bug.NewComment(subject='Possible regression detected', text='This crash has the same stack trace characteristics as bug #%i. \
However, the latter was already fixed in an earlier package version than the \
one in this report. This might be a regression or because the problem is \
in a dependent package.' % master) bug.comments.add(comment) bug.commit()
The apport code does
bug = Bug(id) subject= 'Possible regression detected',
text= 'This crash has the same stack trace characteristics as bug #%i. \
bug.comments. add(comment)
bug.commit( )
comment = Bug.NewComment(
However, the latter was already fixed in an earlier package version than the \
one in this report. This might be a regression or because the problem is \
in a dependent package.' % master)
Is this wrong in any way?