Browse Source

Remove python2 compat __future__ imports

Rusty Bird 4 years ago
parent
commit
1f71a06aed

+ 0 - 1
contrib/check-events

@@ -1,6 +1,5 @@
 #!/usr/bin/env python3
 #!/usr/bin/env python3
 
 
-from __future__ import print_function
 from pprint import pprint
 from pprint import pprint
 
 
 import argparse
 import argparse

+ 0 - 1
qubes/backup.py

@@ -19,7 +19,6 @@
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 #
 #
 #
 #
-from __future__ import unicode_literals
 
 
 import asyncio
 import asyncio
 import datetime
 import datetime

+ 0 - 2
qubes/rngdoc.py

@@ -19,8 +19,6 @@
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 #
 #
 
 
-from __future__ import print_function
-
 import sys
 import sys
 import textwrap
 import textwrap
 
 

+ 0 - 2
qubes/storage/__init__.py

@@ -22,8 +22,6 @@
 
 
 """ Qubes storage system"""
 """ Qubes storage system"""
 
 
-from __future__ import absolute_import
-
 import inspect
 import inspect
 import os
 import os
 import os.path
 import os.path

+ 0 - 2
qubes/storage/file.py

@@ -22,8 +22,6 @@
 
 
 ''' This module contains pool implementations backed by file images'''
 ''' This module contains pool implementations backed by file images'''
 
 
-from __future__ import absolute_import
-
 import os
 import os
 import os.path
 import os.path
 import re
 import re

+ 0 - 2
qubes/tools/__init__.py

@@ -21,8 +21,6 @@
 '''Qubes' command line tools
 '''Qubes' command line tools
 '''
 '''
 
 
-from __future__ import print_function
-
 import argparse
 import argparse
 import importlib
 import importlib
 import logging
 import logging

+ 0 - 2
qubes/vm/qubesvm.py

@@ -20,8 +20,6 @@
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 # License along with this library; if not, see <https://www.gnu.org/licenses/>.
 #
 #
 
 
-from __future__ import absolute_import
-
 import asyncio
 import asyncio
 import base64
 import base64
 import grp
 import grp