mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Minor fix from new patch recipe in PR #5441 (src no longer required)
This commit is contained in:
@@ -17,8 +17,7 @@ class Patcher:
|
||||
and assigns fraction values accordingly.
|
||||
"""
|
||||
|
||||
def __init__(self, src: str, file: ifcopenshell.file, logger: Logger, *args):
|
||||
self.src = src
|
||||
def __init__(self, file: ifcopenshell.file, logger: Logger):
|
||||
self.file = file
|
||||
self.logger = logger
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ from logging import Logger
|
||||
|
||||
|
||||
class Patcher:
|
||||
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates=False):
|
||||
def __init__(self, file: ifcopenshell.file, logger: Logger, only_duplicates: bool = False):
|
||||
"""Regenerate GlobalIds in an IFC model
|
||||
|
||||
All root elements in an IFC model must be identified by a unique Global
|
||||
|
||||
Reference in New Issue
Block a user