Renamed for_gramps to gramps_target_version
svn: r14136
This commit is contained in:
parent
8f0582df8a
commit
1cfeea3701
@ -266,7 +266,7 @@ class PluginData(object):
|
||||
self._id = None
|
||||
self._name = None
|
||||
self._version = None
|
||||
self._for_gramps = None
|
||||
self._gramps_target_version = None
|
||||
self._description = None
|
||||
self._status = UNSTABLE
|
||||
self._fname = None
|
||||
@ -342,11 +342,11 @@ class PluginData(object):
|
||||
def _get_version(self):
|
||||
return self._version
|
||||
|
||||
def _set_for_gramps(self, version):
|
||||
self._for_gramps = version
|
||||
def _set_gramps_target_version(self, version):
|
||||
self._gramps_target_version = version
|
||||
|
||||
def _get_for_gramps(self):
|
||||
return self._for_gramps
|
||||
def _get_gramps_target_version(self):
|
||||
return self._gramps_target_version
|
||||
|
||||
def _set_status(self, status):
|
||||
if status not in STATUS:
|
||||
@ -424,7 +424,8 @@ class PluginData(object):
|
||||
name = property(_get_name, _set_name)
|
||||
description = property(_get_description, _set_description)
|
||||
version = property(_get_version, _set_version)
|
||||
for_gramps = property(_get_for_gramps, _set_for_gramps)
|
||||
gramps_target_version = property(_get_gramps_target_version,
|
||||
_set_gramps_target_version)
|
||||
status = property(_get_status, _set_status)
|
||||
fname = property(_get_fname, _set_fname)
|
||||
fpath = property(_get_fpath, _set_fpath)
|
||||
|
Loading…
Reference in New Issue
Block a user