diff options
author | W. Trevor King <wking@tremily.us> | 2012-08-29 14:54:33 -0400 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-08-29 23:29:56 -0400 |
commit | 2950a115fb106ae73b87f87dc4865156d9311f8e (patch) | |
tree | b989a4bae4e890d0668bd17adbbfbb8d07c00544 /doc/index.txt | |
parent | 22a4d1c4d953013c64c029374f2e627289591695 (diff) | |
download | bugseverywhere-2950a115fb106ae73b87f87dc4865156d9311f8e.tar.gz |
bugdir: add `update` argument to BugDir.append().
This avoids a deepcopy error where the BugDir tries to update before
the Bug has had it's uuid assigned:
Traceback (most recent call last):
...
File ".../libbe/command/merge.py", line 168, in _run
newCommTree = copy.deepcopy(bugB.comment_root)
File "/usr/lib64/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
...
File "/usr/lib64/python2.7/copy.py", line 352, in _reconstruct
y.append(item)
File ".../libbe/bugdir.py", line 263, in append
self._bug_map_gen()
File ".../libbe/bugdir.py", line 152, in _bug_map_gen
map[bug.uuid] = bug
AttributeError: 'Bug' object has no attribute 'uuid'
Diffstat (limited to 'doc/index.txt')
0 files changed, 0 insertions, 0 deletions