Bug 1028 - indentation problems in /usr/lib/python2.7/site-packages/virtinst/OSDistro.py
Summary: indentation problems in /usr/lib/python2.7/site-packages/virtinst/OSDistro.py
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 14:31 CEST by Matthieu Duchemin
Modified: 2011-04-30 18:24 CEST (History)
1 user (show)

See Also:
Source RPM: python-virtinst
CVE:
Status comment:


Attachments
working file whithout tabs indentation error (42.53 KB, text/x-python)
2011-04-28 14:35 CEST, Matthieu Duchemin
Details

Description Matthieu Duchemin 2011-04-28 14:31:38 CEST
Description of problem:

There are several indentation errors in /usr/lib/python2.7/site-packages/virtinst/OSDistro.py which prevent virt-image to work.

Please use space instead of tab in stores.append(MageiaDistro) line 93 and in class MageiaDistro(Distro)


Version-Release number of selected component (if applicable):0.500.6-2.mga1


How reproducible:


Steps to Reproduce:
1. start virt-imahe
Comment 1 Matthieu Duchemin 2011-04-28 14:35:56 CEST
Created attachment 312 [details]
working file whithout tabs indentation error

This is the file I'am using and make virt-image working.
Comment 2 D Morgan 2011-04-30 01:04:16 CEST
just fixed on svn using your file.

thanks a lot.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED

Comment 3 Ahmad Samir 2011-04-30 18:24:50 CEST
(The report and the patch should be upstreamed).

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