Every plugin needs a gramps_target_version for 3.2+

svn: r14341
This commit is contained in:
Doug Blank 2010-02-12 20:23:05 +00:00
parent dc3c37c471
commit 06bc6a8a8f

View File

@ -140,6 +140,7 @@ def valid_plugin_version(plugin_version_string):
Checks to see if string is a valid version string for this version
of Gramps.
"""
if not isinstance(plugin_version_string, basestring): return False
dots = plugin_version_string.count(".")
if dots == 1:
plugin_version = tuple([int(n) for n in