summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2012-09-19 19:58:37 -0400
committerShaun McCance <shaunm@gnome.org>2012-09-19 19:58:37 -0400
commit70f6f5ef01dc03e624e47a341b146ac099be4ebd (patch)
treece49104ce7359ecd9b59f2cb6dce30572bc7c245
parenta0880365b8562d59e81889e980429aef840f89c4 (diff)
downloaditstool-70f6f5ef01dc03e624e47a341b146ac099be4ebd.tar.gz
Adding test output for External Resource
-rwxr-xr-xitstool.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/itstool.in b/itstool.in
index d3271b8..bc4ec58 100755
--- a/itstool.in
+++ b/itstool.in
@@ -1141,6 +1141,8 @@ class Document (object):
compval = 'its:withinText="%s"' % self.get_its_within_text(node)
elif category == 'localeFilterList':
compval = 'its:localeFilterList="%s"' % self.get_its_locale_filter(node)
+ elif category == 'externalResourceRefPointer':
+ compval = 'its:externalResourceRefPointer="%s"' % self._its_externals.get(node, '')
else:
sys.stderr.write('Error: Unrecognized category %s\n' % category)
sys.exit(1)