Bug 507075 - inconsistent use of tabs and spaces in indentation in executil, simpleconfig
Summary: inconsistent use of tabs and spaces in indentation in executil, simpleconfig
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rhpl
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-20 15:14 UTC by Anil Seth
Modified: 2009-07-01 17:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-01 17:18:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
executil.py with tabs replaced by spaces (8.00 KB, application/octet-stream)
2009-06-29 16:27 UTC, Anil Seth
no flags Details
simpleconfig.py with tabs replaced by 4 spaces (2.31 KB, application/octet-stream)
2009-06-29 16:30 UTC, Anil Seth
no flags Details
translate.py with tabs replaced by 4 spaces (6.75 KB, application/octet-stream)
2009-06-29 16:35 UTC, Anil Seth
no flags Details

Description Anil Seth 2009-06-20 15:14:08 UTC
Description of problem:
executil, simpleconfig report 
TabError: inconsistent use of tabs and spaces in indentation

Version-Release number of selected component (if applicable):
rhpl-0.221-1.x86_64

How reproducible:
Every time

Steps to Reproduce:
1.sudo livecd-creator --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks --fslabel=Fedora-LiveCD --cache=/var/cache/live
2.
3.
  
Actual results:
Import of executil fails. Fixed that, then import of simpleconfig fails

Expected results:
livecd-creator should run.

Additional info:

Comment 1 Chris Lumens 2009-06-29 15:05:13 UTC
Can you attach the exact tracebacks you're receiving, or at least how you patches rhpl to get around it?  Thanks.

Comment 2 Anil Seth 2009-06-29 16:27:18 UTC
Created attachment 349812 [details]
executil.py with tabs replaced by spaces

Comment 3 Anil Seth 2009-06-29 16:30:32 UTC
Created attachment 349816 [details]
simpleconfig.py with tabs replaced by 4 spaces

Comment 4 Anil Seth 2009-06-29 16:35:54 UTC
Created attachment 349819 [details]
translate.py with tabs replaced by 4 spaces

Comment 5 Anil Seth 2009-06-29 16:51:42 UTC
Sorry about the many messages.

I had just used IDLE to replace the tabs by  4 spaces. In some cases, I had to change the indentation to what I thought was reasonable. Since I wasn't sure whether my interpretation was correct, I had not attached the files.

Regards
Anil

Comment 6 Chris Lumens 2009-07-01 17:18:29 UTC
Since we are in the process of removing rhpl (bug 508951), this bug report is no longer relevant.  Thanks for filing it, though.


Note You need to log in before you can comment on or make changes to this bug.