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

removed unused imports and code

parent 5a8ce3a7
# -*- coding: utf-8 -*-
# vim: set et sts=2:
import slapos.slap
import time
import subprocess
import os
import re
import urllib
from flask import jsonify
import shutil
import string
from git import Repo
class Popen(subprocess.Popen):
......@@ -86,7 +82,6 @@ def switchBranch(project, name):
json = ""
repo = Repo(project)
branches = repo.branches
current_branch =
if name == current_branch:
json = "This is already your active branch for this project"
......@@ -170,7 +165,6 @@ def gitPull(project):
repo = Repo(project)
git = repo.git
current_branch =
code = 1
except Exception, e:
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