Skip to content

Commit 9190617

Browse files
committing merge? Thought I just did this.
1 parent 0261a81 commit 9190617

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

solid/solidpython.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -624,18 +624,12 @@ def new_openscad_class_str( class_name, args=[], kwargs=[], include_file_path=No
624624
args_pairs += "'%(kwarg)s':%(kwarg)s, "%vars()
625625

626626
if include_file_path:
627-
<<<<<<< .merge_file_IIbKi0
628-
result = ("class %(class_name)s( included_openscad_object):\n"
629-
" def __init__(self%(args_str)s, **kwargs):\n"
630-
" included_openscad_object.__init__(self, '%(class_name)s', {%(args_pairs)s }, include_file_path='%(include_file_path)s', use_not_include=%(use_not_include)s, **kwargs )\n"
631-
=======
632627
# NOTE the explicit import of 'solid' below. This is a fix for:
633628
# https://github.com/SolidCode/SolidPython/issues/20 -ETJ 16 Jan 2014
634629
result = ("import solid\n"
635630
"class %(class_name)s( solid.included_openscad_object):\n"
636-
" def __init__(self%(args_str)s):\n"
637-
" solid.included_openscad_object.__init__(self, '%(class_name)s', {%(args_pairs)s }, include_file_path='%(include_file_path)s', use_not_include=%(use_not_include)s )\n"
638-
>>>>>>> .merge_file_wxmPLA
631+
" def __init__(self%(args_str)s, **kwargs):\n"
632+
" solid.included_openscad_object.__init__(self, '%(class_name)s', {%(args_pairs)s }, include_file_path='%(include_file_path)s', use_not_include=%(use_not_include)s, **kwargs )\n"
639633
" \n"
640634
"\n"%vars())
641635
else:

0 commit comments

Comments
 (0)