From 66cef1188afdc62cf0199af8ba5f298521222e6c Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Tue, 26 Jul 2016 12:28:41 +0100 Subject: [PATCH] Remove trailing newlines. pylint warns about these. --- NEWS | 2 ++ rawdog | 3 +-- rawdoglib/plugins.py | 3 +-- rawdoglib/rawdog.py | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 8bd8ca2..b398346 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,8 @@ location is an absolute URI (as the HTTP/1.1 specification says it should be). Some broken servers return a relative path, or junk, and in those cases rawdog shouldn't update the URL in the config file. +Fix some more style problems reported by pylint. + - rawdog 2.21 Don't crash when asked to show a non-existant template ("-s foo") -- and diff --git a/rawdog b/rawdog index 878ab78..0187d88 100755 --- a/rawdog +++ b/rawdog @@ -1,6 +1,6 @@ #!/usr/bin/env python # rawdog: RSS aggregator without delusions of grandeur. -# Copyright 2003, 2004, 2005, 2006 Adam Sampson +# Copyright 2003, 2004, 2005, 2006, 2016 Adam Sampson # # rawdog is free software; you can redistribute and/or modify it # under the terms of that license as published by the Free Software @@ -29,4 +29,3 @@ if __name__ == "__main__": profile.run("launch()") else: launch() - diff --git a/rawdoglib/plugins.py b/rawdoglib/plugins.py index 8f8d620..447b269 100644 --- a/rawdoglib/plugins.py +++ b/rawdoglib/plugins.py @@ -1,5 +1,5 @@ # plugins: handle add-on modules for rawdog. -# Copyright 2004, 2005, 2013 Adam Sampson +# Copyright 2004, 2005, 2013, 2016 Adam Sampson # # rawdog is free software; you can redistribute and/or modify it # under the terms of that license as published by the Free Software @@ -75,4 +75,3 @@ def call_hook(hookname, *args): if not func(*args): return True return False - diff --git a/rawdoglib/rawdog.py b/rawdoglib/rawdog.py index 82b284a..d1d4e4c 100644 --- a/rawdoglib/rawdog.py +++ b/rawdoglib/rawdog.py @@ -2006,4 +2006,3 @@ def main(argv): rawdog_p.close() return 0 - -- 2.35.1