Add git screenshot importing

This commit is contained in:
rubenwardy
2018-06-05 22:34:57 +01:00
parent 99b21f996c
commit 3d97eca387
3 changed files with 28 additions and 41 deletions

View File

@@ -434,16 +434,6 @@ class Package(db.Model):
return None
def canImportScreenshot(self):
if self.repo is None:
return False
url = urlparse(self.repo)
if url.netloc == "github.com":
return True
return False
def canMakeReleaseFromVCS(self):
if self.repo is None:
return False