Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6848

SConstruct mixes tabs and spaces -- the tabs should be 8 spaces

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL

      The SConstruct file at the top of the source tree in master and 2.2 branches uses tabs for indenting at lines 558, 560, 562 and 563.

      The code works correctly because Python interprets each tab as 8 spaces, but it looks wrong in any editor set to show 4 spaces per tab. We should replace each tab with 8 spaces (which will make it look right) to prevent future accidents (and for consistency with the "don't use tabs" rule).

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: