mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Update github url version file
This commit is contained in:
parent
ae62343127
commit
02688bcdf8
1 changed files with 2 additions and 1 deletions
|
@ -42,9 +42,10 @@ def it_self_update():
|
||||||
repository = "github"
|
repository = "github"
|
||||||
branch = "master"
|
branch = "master"
|
||||||
ver_link = ("https://raw.{0}usercontent.com/{1}/{2}/"
|
ver_link = ("https://raw.{0}usercontent.com/{1}/{2}/"
|
||||||
"{3}/{4}/__metadata__.py".format(repository, _meta_.__author__,
|
"{3}/{4}/version_info.py".format(repository, _meta_.__author__,
|
||||||
_meta_.__all__, branch,
|
_meta_.__all__, branch,
|
||||||
_meta_.__all__))
|
_meta_.__all__))
|
||||||
|
print ver_link
|
||||||
version_data = URL(ver_link).reading()
|
version_data = URL(ver_link).reading()
|
||||||
for line in version_data.splitlines():
|
for line in version_data.splitlines():
|
||||||
line = line.strip()
|
line = line.strip()
|
||||||
|
|
Loading…
Reference in a new issue