qubes: pylint fixes (fix imports)

This commit is contained in:
Wojtek Porczyk 2015-01-19 18:14:15 +01:00
parent ee06e7d7a2
commit ac1739df6b
12 changed files with 10 additions and 17 deletions

View File

@ -54,7 +54,6 @@ import __builtin__
import docutils.core import docutils.core
import docutils.io import docutils.io
import lxml.etree import lxml.etree
import xml.parsers.expat
import qubes.ext import qubes.ext

View File

@ -31,7 +31,6 @@ particularly our custom Sphinx extension.
import csv import csv
import posixpath import posixpath
import re import re
import sys
import urllib2 import urllib2
import docutils import docutils

View File

@ -28,9 +28,7 @@ Qubes uses two types of plugins: virtual machines and extensions.
''' '''
import imp import imp
import inspect
import os import os
import sys
class Plugin(type): class Plugin(type):
'''Base metaclass for plugins''' '''Base metaclass for plugins'''

View File

@ -28,8 +28,8 @@ from __future__ import absolute_import
import os import os
import os.path import os.path
import re
import subprocess import subprocess
import sys
import lxml.etree import lxml.etree

View File

@ -22,11 +22,7 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
import sys
import unittest
import qubes.events import qubes.events
import qubes.tests import qubes.tests
class TC_00_Emitter(qubes.tests.QubesTestCase): class TC_00_Emitter(qubes.tests.QubesTestCase):

View File

@ -23,7 +23,6 @@
# #
import os import os
import sys
import unittest import unittest
import lxml.etree import lxml.etree

View File

@ -22,7 +22,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
import sys
import unittest import unittest
import qubes import qubes

View File

@ -22,9 +22,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
import sys
import unittest
import lxml.etree import lxml.etree
import qubes import qubes

View File

@ -22,7 +22,6 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
import sys
import unittest import unittest
import qubes import qubes

View File

@ -24,6 +24,10 @@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# #
import os
import re
import subprocess
def get_timezone(): def get_timezone():
# fc18 # fc18

View File

@ -30,8 +30,13 @@
import ast import ast
import collections import collections
import datetime
import functools import functools
import os
import re
import subprocess
import sys import sys
import xml.parsers.expat
import lxml.etree import lxml.etree

View File

@ -34,9 +34,7 @@ import subprocess
import sys import sys
import time import time
import uuid import uuid
import xml.parsers.expat
import libvirt import libvirt
import warnings
import qubes import qubes
import qubes.config import qubes.config