#122 cmd.get_unused_name non-safe chars checking

closed-fixed
None
5
2012-05-30
2012-03-31
No

cmd.get_unused_name checks for non-safe chars after checking if the name is already in use.

Test case:

PyMOL>fab AAA, foo_bar
PyMOL>print cmd.get_unused_name('foo bar', 0)
foo_bar

The returned name is already in use, which must not happen.

Patch attached. This patch also uses a set instead of a dict.

Discussion

  • Thomas Holder

    Thomas Holder - 2012-05-30

    fixed in rev 3995

     
  • Thomas Holder

    Thomas Holder - 2012-05-30
    • assigned_to: nobody --> inchoate
    • status: open --> closed-fixed
     

Log in to post a comment.