Bug 507075

Summary: inconsistent use of tabs and spaces in indentation in executil, simpleconfig
Product: [Fedora] Fedora Reporter: Anil Seth <seth.anil>
Component: rhplAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: msivak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-01 17:18:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
executil.py with tabs replaced by spaces
none
simpleconfig.py with tabs replaced by 4 spaces
none
translate.py with tabs replaced by 4 spaces none

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.