Drop depencence on six module

This commit is contained in:
cclauss
2019-01-07 15:50:05 +01:00
parent 00d8f39840
commit a8a02e881d
6 changed files with 1 additions and 14 deletions

View File

@@ -21,8 +21,6 @@
#* *
#***************************************************************************
from six.moves import xrange
import FreeCAD, Mesh, os, numpy, MeshPart, Arch, Draft
if FreeCAD.GuiUp:
from DraftTools import translate

View File

@@ -16,10 +16,7 @@ but random access is not allowed."""
import struct, sys, time, os
import zlib
import io
from six.moves import xrange
from six.moves.builtins import open as builtin_open
from __builtin__ import open as builtin_open
try:
long
except NameError:

View File

@@ -22,8 +22,6 @@
# * *
# ***************************************************************************
from six.moves import xrange
import FreeCAD
import FreeCADGui
import PathScripts.PathLog as PathLog

View File

@@ -24,8 +24,6 @@
from __future__ import print_function
from six.moves import xrange
import FreeCAD
import MeshPart
# import Part

View File

@@ -31,8 +31,6 @@ import urllib2
from xml.sax import handler, make_parser
import xml.sax.xmlreader
from six.moves import raw_input
##from IPython.Shell import IPShellEmbed
##args = ''
##ipshell = IPShellEmbed(args,

View File

@@ -33,8 +33,6 @@ This script builds qhrlp files from a local copy of the wiki
import sys, os, re, tempfile, getopt, shutil
from urllib2 import urlopen, HTTPError
from six.moves import raw_input
# CONFIGURATION #################################################
FOLDER = "./localwiki"