[pybliographer] output: pyflakes



commit 90d8ad71b75b27754e71f1b242454729571895c4
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Wed Mar 28 11:56:53 2018 -0300

    output: pyflakes

 Pyblio/Output/html.py    |   23 ++++++++++-------------
 Pyblio/Output/raw.py     |   24 +++++++++++-------------
 Pyblio/Output/text.py    |   23 ++++++++++++-----------
 Pyblio/Output/textau.py  |   26 +++++++++++++-------------
 Pyblio/Output/textnum.py |   28 ++++++++++++++--------------
 5 files changed, 60 insertions(+), 64 deletions(-)
---
diff --git a/Pyblio/Output/html.py b/Pyblio/Output/html.py
index cf0d107..7744e63 100644
--- a/Pyblio/Output/html.py
+++ b/Pyblio/Output/html.py
@@ -1,30 +1,27 @@
+# -*- coding: utf-8 -*-
 # This file is part of pybliographer
-# 
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#         
+#
+# Copyright (C) 2018 Germán Poo-Caamaño <gpoo gnome org>
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+#
 # 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 the Free Software Foundation; either version 2 
+# as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-#   
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details. 
-# 
+# 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, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-# 
-# 
-
+#
 
 """ This module is a formatter for HTML output """
 
-
 from Pyblio import Formatter, Autoload
-import string
 
 
 class HTML (Formatter.Formatter):
diff --git a/Pyblio/Output/raw.py b/Pyblio/Output/raw.py
index 45f195f..8f2f73c 100644
--- a/Pyblio/Output/raw.py
+++ b/Pyblio/Output/raw.py
@@ -1,29 +1,27 @@
+# -*- coding: utf-8 -*-
 # This file is part of pybliographer
-# 
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#         
+#
+# Copyright (C) 2018 Germán Poo-Caamaño <gpoo gnome org>
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+#
 # 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 the Free Software Foundation; either version 2 
+# as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-#   
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details. 
-# 
+# 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, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-# 
-# 
+#
 
 """ This is a module that codes bibliographies into simple text output """
 
-import sys
-
-from Pyblio import Autoload, Base, Formatter
+from Pyblio import Autoload, Formatter
 
 class TextFormat (Formatter.Formatter):
 
diff --git a/Pyblio/Output/text.py b/Pyblio/Output/text.py
index 5a4f9e2..9ae2f1d 100644
--- a/Pyblio/Output/text.py
+++ b/Pyblio/Output/text.py
@@ -1,30 +1,31 @@
+# -*- coding: utf-8 -*-
 # This file is part of pybliographer
-# 
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#         
+#
+# Copyright (C) 2018 Germán Poo-Caamaño <gpoo gnome org>
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+#
 # 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 the Free Software Foundation; either version 2 
+# as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-#   
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details. 
-# 
+# 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, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-# 
-# 
+#
 
 """ This is a module that codes bibliographies into simple text output """
 
-import sys, string
+import string
 
 from Pyblio import Autoload, Utils, Formatter
 
+
 class TextFormat (Formatter.Formatter):
 
     coding = 'Latin1'
diff --git a/Pyblio/Output/textau.py b/Pyblio/Output/textau.py
index 2456dc4..a8929ae 100644
--- a/Pyblio/Output/textau.py
+++ b/Pyblio/Output/textau.py
@@ -1,33 +1,33 @@
-# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
 # This file is part of pybliographer
-# 
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#         
+#
+# Copyright (C) 2018 Germán Poo-Caamaño <gpoo gnome org>
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+#
 # 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 the Free Software Foundation; either version 2 
+# as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-#   
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details. 
-# 
+# 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, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-# 
-# 
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
+#
 # Modified version of text.py. It is used for abbrvau.xml style.
 # Created by Zoltán Kóta.
 
 """ This is a module that codes bibliographies into simple text output """
 
-import sys, string
+import string
 
 from Pyblio import Autoload, Utils, Formatter
 
+
 class TextFormat (Formatter.Formatter):
 
     coding = 'Latin1'
diff --git a/Pyblio/Output/textnum.py b/Pyblio/Output/textnum.py
index b610d0f..5d9d2ae 100644
--- a/Pyblio/Output/textnum.py
+++ b/Pyblio/Output/textnum.py
@@ -1,33 +1,33 @@
-# -*- coding: UTF-8 -*-
+# -*- coding: utf-8 -*-
 # This file is part of pybliographer
-# 
-# Copyright (C) 1998-2004 Frederic GOBRY
-# Email : gobry pybliographer org
-#         
+#
+# Copyright (C) 2018 Germán Poo-Caamaño <gpoo gnome org>
+# Copyright (C) 1998-2004 Frederic GOBRY <gobry pybliographer org>
+#
 # 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 the Free Software Foundation; either version 2 
+# as published by the Free Software Foundation; either version 2
 # of the License, or (at your option) any later version.
-#   
+#
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details. 
-# 
+# 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, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-# 
-# 
-# Modified version of text.py. It is used for abbrvnum.xml style.
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
+#
+# Modified version of text.py. It is used for abbrvau.xml style.
 # Created by Zoltán Kóta.
 
 """ This is a module that codes bibliographies into simple text output """
 
-import sys, string
+import string
 
 from Pyblio import Autoload, Utils, Formatter
 
+
 class TextFormat (Formatter.Formatter):
 
     coding = 'Latin1'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]