Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_import_dxf/dxfgrabber/sections.py')
-rwxr-xr-xio_import_dxf/dxfgrabber/sections.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/io_import_dxf/dxfgrabber/sections.py b/io_import_dxf/dxfgrabber/sections.py
index c1b03714..286ebf09 100755
--- a/io_import_dxf/dxfgrabber/sections.py
+++ b/io_import_dxf/dxfgrabber/sections.py
@@ -8,7 +8,6 @@ __author__ = "mozman <mozman@gmx.at>"
from .codepage import toencoding
from .defaultchunk import DefaultChunk, iterchunks
from .headersection import HeaderSection
-from .headersection import MinVersionError
from .tablessection import TablesSection
from .entitysection import EntitySection, ObjectsSection
from .blockssection import BlocksSection
@@ -30,11 +29,6 @@ class Sections(object):
section = cls()
self._sections[section.name] = section
- def check_min_version(self, version_string):
- v = int(version_string.replace("AC", ""))
- if v < 1009:
- raise MinVersionError(version_string)
-
def _setup_sections(self, tagreader, drawing):
def name(section):
return section[1].value
@@ -44,7 +38,6 @@ class Sections(object):
if bootstrap:
new_section = HeaderSection.from_tags(section)
drawing.dxfversion = new_section.get('$ACADVER', 'AC1009')
- self.check_min_version(drawing.dxfversion)
codepage = new_section.get('$DWGCODEPAGE', 'ANSI_1252')
drawing.encoding = toencoding(codepage)
bootstrap = False