diff options
author | Rob Austein <sra@hactrn.net> | 2012-06-16 21:55:12 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2012-06-16 21:55:12 +0000 |
commit | 6f020d4066f9f2cbe31d47573468052923b5ab7f (patch) | |
tree | a870528bbd235f42a01e3f699cbdc607c9c9e59e | |
parent | cf16e9178be5612200b007749efacdf6db481616 (diff) |
Just ignore file:// URIs.
svn path=/trunk/; revision=4544
-rw-r--r-- | rcynic/rcynic-text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rcynic/rcynic-text.py b/rcynic/rcynic-text.py index f99c0792..09797cfa 100644 --- a/rcynic/rcynic-text.py +++ b/rcynic/rcynic-text.py @@ -83,7 +83,7 @@ class Session(object): def show(self): visible = [label for label in self.labels if label.visible] - hostnames = sorted(self.hosts) + hostnames = sorted(hostname for hostname in self.hosts if hostname is not None) hostwidth = max(len(hostname) for hostname in hostnames) separator = "+-%s-+-%s-+" % ( "-" * hostwidth, |