Rename metafieldtype to fieldtype

For consistency with flagtype. Also less redundant.
This commit is contained in:
Daniel Martí 2015-12-03 13:53:49 +01:00
parent 2c095df947
commit 28566f6e57
2 changed files with 5 additions and 5 deletions

View file

@ -107,7 +107,7 @@ def check_regexes(app):
for f, checks in regex_checks.iteritems():
for m, r in checks:
v = app.get_field(f)
t = metadata.metafieldtype(f)
t = metadata.fieldtype(f)
if t == metadata.TYPE_MULTILINE:
for l in v.splitlines():
if m.match(l):