Commit 5b9ff180 authored by Marco Mariani's avatar Marco Mariani

removed unused function

parent 33e68311
......@@ -4,23 +4,11 @@
import os
import re
import shutil
import subprocess
from git import Repo
from flask import jsonify
class Popen(subprocess.Popen):
def __init__(self, *args, **kwargs):
kwargs['stdin'] = subprocess.PIPE
kwargs['stderr'] = subprocess.STDOUT
kwargs.setdefault('stdout', subprocess.PIPE)
kwargs.setdefault('close_fds', True)
subprocess.Popen.__init__(self, *args, **kwargs)
self.stdin.flush()
self.stdin.close()
self.stdin = None
def cloneRepo(data):
"""Clonne a repository
Args:
......
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