aboutsummaryrefslogtreecommitdiff
path: root/rcynic/rcynic-html.py
diff options
context:
space:
mode:
Diffstat (limited to 'rcynic/rcynic-html.py')
-rw-r--r--rcynic/rcynic-html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rcynic-html.py b/rcynic/rcynic-html.py
index c165d652..d86c84f3 100644
--- a/rcynic/rcynic-html.py
+++ b/rcynic/rcynic-html.py
@@ -137,7 +137,7 @@ class Validation_Status(object):
self.uri = elt.text.strip()
self.timestamp = elt.get("timestamp")
self.generation = elt.get("generation")
- self.hostname = urlparse.urlparse(self.uri).hostname or None
+ self.hostname = urlparse.urlparse(self.uri).hostname or "[None]"
self.fn2 = os.path.splitext(self.uri)[1] or None if self.generation else None
self.label = label_map[elt.get("status")]