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

removed unused function

parent 33e68311
...@@ -4,23 +4,11 @@ ...@@ -4,23 +4,11 @@
import os import os
import re import re
import shutil import shutil
import subprocess
from git import Repo from git import Repo
from flask import jsonify 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): def cloneRepo(data):
"""Clonne a repository """Clonne a repository
Args: 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