Hey everyone,

So I have been working on an update method for the KB to update the pickle
objects of Info and Vuln entries. I ran across a problem when attempting to
copy the old instance to a new instance where I could make the updates.

When I create the new instance using:

update_info = Info.from_info(old_info)

the uniq_id of update_info is negative. This obviously causes an issue when
trying to update the uniq_id in the database. Has anyone else run across
this problem, or have a better way to copy an Info/Vuln instance?

I also tried using old_info.copy() but it just returns a copy of the Dict
part of the Info instance.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to