euscan: adjusted code to be PEP8 compliant

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-05-25 10:23:33 +02:00
parent 305fdea0c7
commit 31bd4dc55e
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
import os, sys, imp import os
import sys
import imp
import portage import portage
from portage.const import VDB_PATH from portage.const import VDB_PATH
@ -7,6 +9,7 @@ from portage import _shell_quote
from portage import _unicode_decode from portage import _unicode_decode
from portage import _unicode_encode from portage import _unicode_encode
# Stolen from the ebuild command # Stolen from the ebuild command
def package_from_ebuild(ebuild): def package_from_ebuild(ebuild):
pf = None pf = None

View File

@ -1,5 +1,4 @@
import os import os
import sys
import re import re
import pkg_resources import pkg_resources
import errno import errno

View File

@ -5,6 +5,7 @@ import json
from gentoolkit import pprinter as pp from gentoolkit import pprinter as pp
from portage.output import EOutput from portage.output import EOutput
class EOutputMem(EOutput): class EOutputMem(EOutput):
""" """
Override of EOutput, allows to specify an output file for writes Override of EOutput, allows to specify an output file for writes
@ -19,6 +20,7 @@ class EOutputMem(EOutput):
def _write(self, f, msg): def _write(self, f, msg):
super(EOutputMem, self)._write(self.out, msg) super(EOutputMem, self)._write(self.out, msg)
class EuscanOutput(object): class EuscanOutput(object):
""" """
Class that handles output for euscan Class that handles output for euscan