Drop depencence on six module
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#* *
|
||||
#***************************************************************************
|
||||
|
||||
from six.moves import xrange
|
||||
|
||||
import FreeCAD, Mesh, os, numpy, MeshPart, Arch, Draft
|
||||
if FreeCAD.GuiUp:
|
||||
from DraftTools import translate
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
# * *
|
||||
# ***************************************************************************
|
||||
|
||||
from six.moves import xrange
|
||||
|
||||
import FreeCAD
|
||||
import FreeCADGui
|
||||
import PathScripts.PathLog as PathLog
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from six.moves import xrange
|
||||
|
||||
import FreeCAD
|
||||
import MeshPart
|
||||
# import Part
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user