-#!/usr/bin/python
+#!/usr/bin/env python3
#
# Copyright (c) 2011-2012 David Bremner <david@tethera.net>
#
# dependencies
-# - python 2.6 for json
-# - argparse; either python 2.7, or install separately
+# - python3 or python2.7
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/ .
+# along with this program. If not, see https://www.gnu.org/licenses/ .
"""Generate text and/or HTML for one or more notmuch searches.
border-bottom-right-radius: {border_radius};
}}
tbody:nth-child(4n+1) tr td {{
+ color: #000;
background-color: #ffd96e;
}}
tbody:nth-child(4n+3) tr td {{
+ color: #000;
background-color: #bce;
}}
hr {{
header=header_template.format(**context),
footer=footer_template.format(**context),
message_url_template=config['meta'].get(
- 'message-url', 'http://mid.gmane.org/{message-id}'),
+ 'message-url', 'https://mid.gmane.org/{message-id}'),
)
if args.list_views: