Skip to content

Commit

Permalink
fix(lib):schema_markers() accessed map incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 21, 2015
1 parent 80161f7 commit 98f4bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/lib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def schema_markers(s, c, transitive=True):
_, resource, _ = activity_split(fqan)
if resource and activity_name_to_type_name(resource).lower() == sid.lower():
res.add('cmn::%s' % RESOURCE_MARKER_TRAIT)
m = c.fqan_map[fqan]
m = c.fqan_map[to_fqan(*activity_split(fqan))]
params, _ = build_all_params(c, m)
part_prop, _ = parts_from_params(params)
if part_prop is not None and 'properties' in s:
Expand Down

0 comments on commit 98f4bba

Please sign in to comment.