Remove redundant objects

These were needed for database upgrades but are no longer
referenced anywhere.
This commit is contained in:
Nick Hall 2016-01-08 22:58:18 +00:00
parent 80f05956b4
commit e64fa65552
5 changed files with 0 additions and 108 deletions

View File

@ -39,7 +39,6 @@ from .placeref import PlaceRef
from .reporef import RepoRef
from .surname import Surname
from .url import Url
from .witness import Witness
from .childref import ChildRef
# Primary objects

View File

@ -1,37 +0,0 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
#
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
"""
PrivateSourceNote class for GRAMPS.
"""
from .srcnote import SourceNote
from .privacybase import PrivacyBase
#-------------------------------------------------------------------------
#
# PrivateSourceNote class
#
#-------------------------------------------------------------------------
class PrivateSourceNote(SourceNote, PrivacyBase):
def __init__(self):
SourceNote.__init__(self)
PrivacyBase.__init__(self)

View File

@ -1,34 +0,0 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2006 Donald N. Allingham
#
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
"""
SourceNote class for GRAMPS.
"""
#-------------------------------------------------------------------------
#
# SourceNote classes
#
#-------------------------------------------------------------------------
class SourceNote(object):
"""This class is only present to enable db upgrade."""
def __init__(self):
pass

View File

@ -1,33 +0,0 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2005 Donald N. Allingham
#
# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
"""
Witness class for GRAMPS.
"""
#-------------------------------------------------------------------------
#
# Witness class
#
#-------------------------------------------------------------------------
class Witness(object):
"""This class is only present to enable db upgrade."""
def __init__(self):
pass

View File

@ -148,7 +148,6 @@ gramps/gen/lib/place.py
gramps/gen/lib/placebase.py
gramps/gen/lib/primaryobj.py
gramps/gen/lib/privacybase.py
gramps/gen/lib/privsrcnote.py
gramps/gen/lib/refbase.py
gramps/gen/lib/repo.py
gramps/gen/lib/reporef.py
@ -156,7 +155,6 @@ gramps/gen/lib/researcher.py
gramps/gen/lib/secondaryobj.py
gramps/gen/lib/src.py
gramps/gen/lib/srcbase.py
gramps/gen/lib/srcnote.py
gramps/gen/lib/srcref.py
gramps/gen/lib/styledtext.py
gramps/gen/lib/styledtexttag.py
@ -169,7 +167,6 @@ gramps/gen/lib/test/grampstype_test.py
gramps/gen/lib/test/merge_test.py
gramps/gen/lib/url.py
gramps/gen/lib/urlbase.py
gramps/gen/lib/witness.py
#
# gen.merge package
#