From: SourceForge.net <no...@so...> - 2008-03-11 09:37:30
|
Bugs item #1911732, was opened at 2008-03-11 10:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1911732&group_id=16528 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Pietro Bernardi (bpietro2) Assigned to: Nobody/Anonymous (nobody) Summary: wrong indentation (aka unknown PEP 8) Initial Comment: >From PEP 8 - Style guide: Indentation Use 4 spaces per indentation level. For really old code that you don't want to mess up, you can continue to use 8-space tabs. Tabs or Spaces? Never mix tabs and spaces. The most popular way of indenting Python is with spaces only. The second-most popular way is with tabs only. Code indented with a mixture of tabs and spaces should be converted to using spaces exclusively. Once more: Never mix tabs and spaces! PgSQL.py (2.5.1) use: tabs for even indentation levels and zero o more tabs + four spaces for odd levels. Seems good if you have 8 spaces tab setting in your editor, otherwise leads in mess code. Regards, Pietro ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1911732&group_id=16528 |