Browse Source

Remove python2 compat __future__ imports

Rusty Bird 4 years ago
parent
commit
1f71a06aed
7 changed files with 0 additions and 12 deletions
  1. 0 1
      contrib/check-events
  2. 0 1
      qubes/backup.py
  3. 0 2
      qubes/rngdoc.py
  4. 0 2
      qubes/storage/__init__.py
  5. 0 2
      qubes/storage/file.py
  6. 0 2
      qubes/tools/__init__.py
  7. 0 2
      qubes/vm/qubesvm.py

+ 0 - 1
contrib/check-events

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

+ 0 - 1
qubes/backup.py

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

+ 0 - 2
qubes/rngdoc.py

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

+ 0 - 2
qubes/storage/__init__.py

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

+ 0 - 2
qubes/storage/file.py

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

+ 0 - 2
qubes/tools/__init__.py

@@ -21,8 +21,6 @@
 '''Qubes' command line tools
 '''
 
-from __future__ import print_function
-
 import argparse
 import importlib
 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/>.
 #
 
-from __future__ import absolute_import
-
 import asyncio
 import base64
 import grp