Skip to content

Commit 34eaf3f

Browse files
author
Nicholas Car
committed
gitignores
1 parent f9c094d commit 34eaf3f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ sdist/
1818
*.egg-info/
1919

2020
owlrl*.tar.gz
21+
22+
# Mac
23+
.DS_Store

owlrl/OWLRL.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -774,12 +774,7 @@ def _classes(self, triple, cycle_num):
774774
for cc in self.graph.objects(xx, onClass):
775775
for u, y in self.graph.subject_objects(pp):
776776
# This should not occur:
777-
if ((y, rdf_type, cc) in self.graph or cc == Thing) and (
778-
u,
779-
rdf_type,
780-
xx,
781-
) in self.graph:
782-
777+
if ((y, rdf_type, cc) in self.graph or cc == Thing) and (u, rdf_type, xx) in self.graph:
783778
self.add_error(
784779
"Erroneous usage of maximum qualified cardinality with %s, %s and %s"
785780
% (xx, cc, y)

0 commit comments

Comments
 (0)