[pybliographer] confdir: pyflakes



commit 28e9f27b5e412eb195723d355246fac28b444e15
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Wed Mar 28 11:30:11 2018 -0300

    confdir: pyflakes

 Pyblio/ConfDir/Base.py    |   22 ++++++++++++++++++++++
 Pyblio/ConfDir/GnomeUI.py |   25 +++++++++++++++++++++++--
 Pyblio/ConfDir/Medline.py |   21 +++++++++++++++++++++
 Pyblio/ConfDir/Ovid.py    |   23 ++++++++++++++++++++++-
 4 files changed, 88 insertions(+), 3 deletions(-)
---
diff --git a/Pyblio/ConfDir/Base.py b/Pyblio/ConfDir/Base.py
index 131a7c6..4d9536f 100644
--- a/Pyblio/ConfDir/Base.py
+++ b/Pyblio/ConfDir/Base.py
@@ -1,3 +1,25 @@
+# -*- coding: utf-8 -*-
+# This file is part of pybliographer
+#
+# 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
+# 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.
+#
+# 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.
+#
+
+import string
 from Pyblio import Config, Types, Fields, Autoload
 
 def _get_entries ():
diff --git a/Pyblio/ConfDir/GnomeUI.py b/Pyblio/ConfDir/GnomeUI.py
index 6739aa4..9681e26 100644
--- a/Pyblio/ConfDir/GnomeUI.py
+++ b/Pyblio/ConfDir/GnomeUI.py
@@ -1,8 +1,29 @@
-from Pyblio import Config, Fields
-from Pyblio.GnomeUI import Utils, Editor
+# -*- coding: utf-8 -*-
+# This file is part of pybliographer
+#
+# 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
+# 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.
+#
+# 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.
+#
 
 import gtk
 
+from Pyblio import Config, Fields
+from Pyblio.GnomeUI import  Editor
+
 Config.define ('gnomeui/default', """ Graphical description of the
 default field. """)
 
diff --git a/Pyblio/ConfDir/Medline.py b/Pyblio/ConfDir/Medline.py
index f168bd7..7665165 100644
--- a/Pyblio/ConfDir/Medline.py
+++ b/Pyblio/ConfDir/Medline.py
@@ -1,3 +1,24 @@
+# -*- coding: utf-8 -*-
+# This file is part of pybliographer
+#
+# 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
+# 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.
+#
+# 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.
+#
+
 from Pyblio import Config
 
 Config.define ('medline/mapping',
diff --git a/Pyblio/ConfDir/Ovid.py b/Pyblio/ConfDir/Ovid.py
index c5bd688..4cb93fd 100644
--- a/Pyblio/ConfDir/Ovid.py
+++ b/Pyblio/ConfDir/Ovid.py
@@ -1,4 +1,25 @@
-from Pyblio import Config, Types
+# -*- coding: utf-8 -*-
+# This file is part of pybliographer
+#
+# 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
+# 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.
+#
+# 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.
+#
+
+from Pyblio import Config
 from Pyblio.Format.OvidLike import SimpleField, AuthorField, SourceField, KeywordField
 
 def _get_elements ():


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