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 #438 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

ModelDesigner inserts tabs into model.py

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Toolbox Version:
Severity: normal Keywords:
Cc:

Description

The defacto standard for indentation in TG appears to be four spaces. This is true in both TG itself and in quickstarted code. However, when you save a model.py from ModelDesigner?, ModelDesigner? converts everything to tabs; mixing tabs and spaces in a program is generally a bad idea.

ModelDesigner? should be changed to match the rest of TurboGears.

Change History

comment:1 Changed 13 years ago by ronald@…

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

Fixet in r559

Note: See TracTickets for help on using tickets.