Skip to content

Commit d9e688c

Browse files
committed
style: clean-up dead-code
Signed-off-by: Silvano Cirujano Cuesta <silvano.cirujano-cuesta@siemens.com>
1 parent 9e268e5 commit d9e688c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

linkml_runtime/utils/metamodelcore.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,6 @@ def __init__(self, v: str) -> None:
144144
raise ValueError(f"'{v}': is not a valid URI")
145145
super().__init__(v)
146146

147-
# this is more inclusive than the W3C specification
148-
#uri_re = re.compile("^[A-Za-z]\\S*$")
149-
uri_re = re.compile("^\\S+$")
150-
151147
@classmethod
152148
def is_valid(cls, v: str) -> bool:
153149
if validate_uri(v):

0 commit comments

Comments
 (0)