py3: define unicode for python3
This commit is contained in:
@@ -35,6 +35,9 @@ else:
|
|||||||
def QT_TRANSLATE_NOOP(ctxt,txt):
|
def QT_TRANSLATE_NOOP(ctxt,txt):
|
||||||
return txt
|
return txt
|
||||||
# \endcond
|
# \endcond
|
||||||
|
import sys
|
||||||
|
if sys.version_info.major >= 3:
|
||||||
|
unicode = str
|
||||||
|
|
||||||
## @package ArchBuildingPart
|
## @package ArchBuildingPart
|
||||||
# \ingroup ARCH
|
# \ingroup ARCH
|
||||||
|
|||||||
Reference in New Issue
Block a user