← Back to team overview

linux-traipu team mailing list archive

[Bug 912369] Re: Don't mix tabs and spaces in python code

 

Agreed. I made the same proposal some times ago.

** Changed in: openshot
       Status: New => Confirmed

** Changed in: openshot
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/912369

Title:
  Don't mix tabs and spaces in python code

Status in OpenShot Video Editor:
  Confirmed

Bug description:
  Please replace alls tabs with 4 spaces. You should avoid mixing tabs and spaces. It is a good idea to only use spaces.
  Using tabs in python can lead to bugs which are very hard to find.
  For a quick code analysis Cython (www.cython.org) can be used:

  for x in `find | grep py`; do echo "############### $x:"; cython $x;
  done

  The above command line showed several problems in your code (Version 1.4.0).
  With cython you can also improve the speed of time critical python code a lot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/912369/+subscriptions


References