Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
3bf7dddc
Commit
3bf7dddc
authored
Aug 03, 2017
by
Weblate
Browse files
fix checking updates
parent
aa19e472
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugin_installer/manifest.ini
View file @
3bf7dddc
[info]
name:
Plugin
Installer
short_name:
plugin_installer
version:
0.12.
3
version:
0.12.
4
description:
Install
and
upgrade
plugins
from
HTTPS
authors:
Denis
Fomin
<fominde@gmail.com>
Yann
Leboulanger
<asterix@lagaule.org>
...
...
plugin_installer/plugin_installer.py
View file @
3bf7dddc
...
...
@@ -225,9 +225,15 @@ class PluginInstaller(GajimPlugin):
'version'
))
gajim_v
=
convert_version_to_list
(
gajim
.
config
.
get
(
'version'
))
min_v
=
config
.
get
(
'info'
,
'min_gajim_version'
)
try
:
min_v
=
config
.
get
(
'info'
,
'min_gajim_version'
)
except
:
min_v
=
None
min_v
=
convert_version_to_list
(
min_v
)
if
min_v
else
gajim_v
max_v
=
config
.
get
(
'info'
,
'max_gajim_version'
)
try
:
max_v
=
config
.
get
(
'info'
,
'max_gajim_version'
)
except
:
max_v
=
None
max_v
=
convert_version_to_list
(
max_v
)
if
max_v
else
gajim_v
if
(
remote
>
local
)
and
(
gajim_v
>=
min_v
)
and
\
(
gajim_v
<=
max_v
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment