diff --git a/www/kojiweb/fileinfo.html.j2 b/www/kojiweb/fileinfo.html.j2
index 2e440cbb..1e7d2467 100644
--- a/www/kojiweb/fileinfo.html.j2
+++ b/www/kojiweb/fileinfo.html.j2
@@ -48,7 +48,7 @@
- #set epoch = (rpm.epoch != None and str(rpm.epoch) + ':' or '')
+ #set epoch = ( rpm.epoch ~ ':' if rpm.epoch is not none else '')
| RPM | {{ rpm.name }}-{{ epoch }}{{ rpm.version }}-{{ rpm.release }}.{{ rpm.arch }}.rpm |
#elif archive
diff --git a/www/kojiweb/packages.html.j2 b/www/kojiweb/packages.html.j2
index b203057c..7eeb0f93 100644
--- a/www/kojiweb/packages.html.j2
+++ b/www/kojiweb/packages.html.j2
@@ -100,7 +100,7 @@ owned by {{ user.name }}
#if tag or user
{{ package.tag_name }} |
{{ package.owner_name }} |
- {{ util.imageTag('no') if package.blocked else util.imageTag('yes') }} |
+ {{ util.imageTag('no') if package.blocked else util.imageTag('yes') }} |
#endif
#endfor