euscan: adjusted code to be PEP8 compliant
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
305fdea0c7
commit
31bd4dc55e
@ -1,4 +1,6 @@
|
||||
import os, sys, imp
|
||||
import os
|
||||
import sys
|
||||
import imp
|
||||
|
||||
import portage
|
||||
from portage.const import VDB_PATH
|
||||
@ -7,6 +9,7 @@ from portage import _shell_quote
|
||||
from portage import _unicode_decode
|
||||
from portage import _unicode_encode
|
||||
|
||||
|
||||
# Stolen from the ebuild command
|
||||
def package_from_ebuild(ebuild):
|
||||
pf = None
|
||||
|
@ -1,5 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import pkg_resources
|
||||
import errno
|
||||
|
@ -5,6 +5,7 @@ import json
|
||||
from gentoolkit import pprinter as pp
|
||||
from portage.output import EOutput
|
||||
|
||||
|
||||
class EOutputMem(EOutput):
|
||||
"""
|
||||
Override of EOutput, allows to specify an output file for writes
|
||||
@ -19,6 +20,7 @@ class EOutputMem(EOutput):
|
||||
def _write(self, f, msg):
|
||||
super(EOutputMem, self)._write(self.out, msg)
|
||||
|
||||
|
||||
class EuscanOutput(object):
|
||||
"""
|
||||
Class that handles output for euscan
|
||||
|
Loading…
Reference in New Issue
Block a user