sys.path.insert(0, get_python_lib())
from common.gerrit import Gerrit, get_gerrit_event
-from common.git import clone_gitproject, fetch_change
+from common.git import fetch_change
from common.iris_rest_client import IrisRestClient
# set default char-set endcoding to utf-8
return -1
proj_path = os.path.join(WORKSPACE, GERRIT_PROJECT)
- if not clone_gitproject(GERRIT_PROJECT, proj_path):
- return -1
-
# fecth and checkout change
fetch_change(GERRIT_PROJECT, proj_path, events['refspec'])