mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Remove check urls
This commit is contained in:
parent
e65f2439a7
commit
03dbad954c
1 changed files with 0 additions and 3 deletions
|
@ -57,9 +57,6 @@ class Repo(object):
|
|||
print("\nMaximum repository name length must be six (6) "
|
||||
"characters\n")
|
||||
sys.exit(0)
|
||||
elif not url.startswith("http") or url.startswith("ftp"):
|
||||
print("\nWrong type URL '{0}'\n".format(url))
|
||||
sys.exit(0)
|
||||
with open(self.repo_file, "a") as repos:
|
||||
new_line = " {0}{1}{2}\n".format(repo, " " * (10 - len(repo)), url)
|
||||
repos.write(new_line)
|
||||
|
|
Loading…
Add table
Reference in a new issue