Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #212 (closed enhancement: fixed)

Opened 14 years ago

Last modified 12 years ago

[PATCH] catwalk: use [ **args ] instead of [ eval ]

Reported by: gabor@… Owned by: anonymous
Priority: normal Milestone:
Component: Toolbox Version:
Severity: trivial Keywords:
Cc:

Description

catwalk.py uses eval() to edit/create-new objects.

the attached patch achieves the same results using the simpler "args" construct.

p.s: i "developed" this patch on revision 258, because the current svn head catwalk does not work for me. then i "backported" the change to the svn-head version of catwalk.py, and made the diff. that means it is untested with svn-head, but:

  • it worked with rev258
  • it is a trivial change.

so it should work :)

Attachments

namedparams.patch Download (1.1 KB) - added by gabor@… 14 years ago.

Change History

Changed 14 years ago by gabor@…

comment:1 Changed 14 years ago by anonymous

  • Type changed from defect to enhancement

comment:2 Changed 14 years ago by Ronald Jaramillo

  • Status changed from new to closed
  • Resolution set to fixed

Really nice, thanks!

Note: See TracTickets for help on using tickets.