Skip to content

Commit

Permalink
Add six python module
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Jul 2, 2018
1 parent 2ac3d2d commit 5c35ad7
Show file tree
Hide file tree
Showing 8 changed files with 902 additions and 6 deletions.
1 change: 0 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion constraint.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from six import with_metaclass
from collections import namedtuple
import FreeCAD, FreeCADGui, Part
from . import utils, gui
from .deps import with_metaclass
from .utils import objName,cstrlogger as logger, guilogger
from .proxy import ProxyType, PropertyInfo, propGet, propGetValue

Expand Down
6 changes: 6 additions & 0 deletions deps/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
try:
# try import system six module first
from six import with_metaclass
except ImportError:
from .six import with_metaclass

Loading

0 comments on commit 5c35ad7

Please sign in to comment.