Commit 64510dee authored by Rob Currie's avatar Rob Currie
Browse files

Removing Utils changes

parent f3f586c1
Pipeline #1382546 passed with stage
in 2 minutes and 31 seconds
......@@ -135,7 +135,7 @@ def tee_call(*args, **kwargs):
while files:
try:
ready = poller.poll()
except select.error as e:
except select.error, e:
if e.args[0] == errno.EINTR:
continue
raise
......@@ -220,7 +220,7 @@ def log_call(*args, **kwargs):
while files:
try:
ready = poller.poll()
except select.error as e:
except select.error, e:
if e.args[0] == errno.EINTR:
continue
raise
......@@ -1038,7 +1038,7 @@ def postToMergeRequest(name_or_id,
last_note.save()
else:
mreq.notes.create({'body': message})
except Exception as err:
except Exception, err:
logging.error(str(err))
raise
......@@ -1063,7 +1063,7 @@ def getMRTitle(name_or_id, mreq_iid, token=None):
project = server.projects.get(name_or_id)
mreq = project.mergerequests.get(mreq_iid)
return mreq.title
except Exception as err:
except Exception, err:
logging.error(str(err))
raise
......@@ -1088,7 +1088,7 @@ def getMRTargetBranch(name_or_id, mreq_iid, token=None):
project = server.projects.get(name_or_id)
mreq = project.mergerequests.get(mreq_iid)
return mreq.target_branch
except Exception as err:
except Exception, err:
logging.error(str(err))
raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment