diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-18 14:55:38 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-07-18 14:55:38 +0300 |
commit | 732dd69e4d9e1b70edffad9829e34d84155cd91b (patch) | |
tree | 4bc1e8b26b1947b982ceb593257c5ab3f1cb268a /mod/mod-package-version-details.cxx | |
parent | 67d190d15e5a8ad865dbbf21fdf7dcb7b1168cdd (diff) |
Adapt to non-optional buildtab target
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r-- | mod/mod-package-version-details.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 4da13ab..0138154 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -371,8 +371,7 @@ handle (request& rq, response& rs) b.toolchain_name + '-' + b.toolchain_version.string ()) << TR_VALUE ("config", - b.configuration + " / " + - (b.target ? b.target->string () : "<default>")) + b.configuration + " / " + b.target.string ()) << TR_VALUE ("timestamp", ts) << TR_BUILD_RESULT (b, host, root) << ~TBODY @@ -421,9 +420,7 @@ handle (request& rq, response& rs) { s << TABLE(CLASS="proplist build") << TBODY - << TR_VALUE ("config", - c.name + " / " + - (c.target ? c.target->string () : "<default>")) + << TR_VALUE ("config", c.name + " / " + c.target.string ()) << TR_VALUE ("result", !reason.empty () ? "excluded (" + reason + ')' |