Avoid mixing tabs and spaces

Bug #1169292 reported by Marco Giusti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbricks
Fix Released
Wishlist
Marco Giusti

Bug Description

Mixing tabs and spaces in python code is problematic, in virtualbricks
the standard seems to be tabs (sigh), so here some files that use also
spaces, found with: `find . -name \*.py -exec egrep -l '^[ ]+' {} \;`

 virtualbricks/console.py
 virtualbricks/brickfactory.py
 virtualbricks/gui/gui.py
 virtualbricks/tcpserver.py

 affects virtualbrick
 tag code-cleanup

Tags: code-cleanup
Revision history for this message
Francesco Apollonio (lorddex) wrote :

we use spaces, these are the vim's settings:

set tabstop=4
set shiftwidth=4
set expandtab

Changed in virtualbrick:
status: New → Opinion
importance: Undecided → Wishlist
Revision history for this message
Marco Giusti (marco-giusti) wrote :

The code is more coherent now. The fix is lost in the mass of commits.

Changed in virtualbrick:
status: Opinion → Fix Committed
Changed in virtualbrick:
status: Fix Committed → Fix Released
milestone: none → 1.0
assignee: nobody → mg (marco-giusti)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers