Commit 9dc195fd authored by Nikolai R Kristiansen's avatar Nikolai R Kristiansen

python2 cleanups

parent d5d63b4d
from __future__ import unicode_literals
from rest_framework import serializers
from rest_framework.exceptions import ValidationError
......
from __future__ import with_statement
import os
import sys
from difflib import context_diff
from django.core.management.base import BaseCommand
from django.core.mail import mail_admins
try:
from subprocess import getstatusoutput
except ImportError:
from commands import getstatusoutput
from subprocess import getstatusoutput
from mdb.models import DhcpConfig
......
from __future__ import with_statement
import os
import sys
from itertools import chain
from difflib import context_diff
from django.core.management.base import BaseCommand
from django.core.mail import mail_admins
try:
from subprocess import getstatusoutput
except ImportError:
from commands import getstatusoutput
from subprocess import getstatusoutput
from mdb.models import Domain, Ip4Subnet, Ip6Subnet
......
from __future__ import unicode_literals
from django.core.validators import RegexValidator
import re
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment