From 33dd674807c484022489477e215021536eb1f88b Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Fri, 22 Apr 2016 21:45:46 -0500 Subject: [PATCH] Deleted redhat from pypkg-gen.py. --- pypkg-gen.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pypkg-gen.py b/pypkg-gen.py index ce070b5..cfd4895 100755 --- a/pypkg-gen.py +++ b/pypkg-gen.py @@ -82,12 +82,3 @@ if(getargs.distro=="archlinux"): pypkgenout = pypkgenout.decode("utf-8"); print(pypkgenout); pypkgenlistp.wait(); - -if(getargs.distro=="redhat"): - pypkgpath = os.path.realpath(getargs.source+os.path.sep+"pkgbuild"+os.path.sep+getargs.distro+os.path.sep+getpyver+os.path.sep+"pyrpm-gen.sh"); - pypkgenlistp = subprocess.Popen([bashlocatout, pypkgpath, getargs.source, getargs.codename], stdout=subprocess.PIPE, stderr=subprocess.PIPE); - pypkgenout, pypkgenerr = pypkgenlistp.communicate(); - if(sys.version[0]=="3"): - pypkgenout = pypkgenout.decode("utf-8"); - print(pypkgenout); - pypkgenlistp.wait(); -- 2.11.4.GIT