2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 21:19:00 +00:00

fix: reverted changes made by erroneous commit

This commit is contained in:
Aradhya 2022-05-06 14:10:09 +05:30
parent 66157f6c92
commit b8aa00898f

View File

@ -115,7 +115,7 @@ class AppMeta:
name = url if url else self.name name = url if url else self.name
if name.startswith("git@") or name.startswith("ssh://"): if name.startswith("git@") or name.startswith("ssh://"):
self.use_ssh = True self.use_ssh = True
_first_part, _second_part = self.name.rsplit(":", 1) _first_part, _second_part = name.rsplit(":", 1)
self.remote_server = _first_part.split("@")[-1] self.remote_server = _first_part.split("@")[-1]
self.org, _repo = _second_part.rsplit("/", 1) self.org, _repo = _second_part.rsplit("/", 1)
else: else: