branch | stable |
changeset 3689 | deb13e88e037 |
parent 2664 | 1578e1a57828 |
child 3720 | 5376aaadd16b |
child 4212 | ab6573088b4a |
--- a/web/views/urlpublishing.py Thu Oct 15 18:43:04 2009 +0200 +++ b/web/views/urlpublishing.py Thu Oct 15 20:29:21 2009 +0200 @@ -156,7 +156,7 @@ if len(parts) == 2: attrname = parts.pop(0).lower() try: - cls.e_schema.subject_relation(attrname) + cls.e_schema.subjrels[attrname] except KeyError: raise PathDontMatch() else: