Remove check urls

This commit is contained in:
Dimitris Zlatanidis 2015-06-22 17:59:15 +03:00
parent e65f2439a7
commit 03dbad954c

View file

@ -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)