blob: ac17539c4e0d8a1cc472dadcf8f63d6f08ff680e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
From 6d9f81ec15b7b18f8791981a0d65dc4f266022ca Mon Sep 17 00:00:00 2001
From: Brian Dolbec <dolsen@gentoo.org>
Date: Mon, 15 Jan 2018 16:27:54 -0800
Subject: [PATCH] pkg/buildbot_pkg.py: Remove development virtualenvironment
hack
This hack is not needed/nor works reliably in non-virtualenv installs.
---
pkg/buildbot_pkg.py | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/buildbot_pkg.py b/buildbot_pkg.py
index 89847b040..7788e12d6 100644
--- a/buildbot_pkg.py
+++ b/buildbot_pkg.py
@@ -33,17 +33,6 @@ import setuptools.command.build_py
import setuptools.command.egg_info
from setuptools import setup
-old_listdir = os.listdir
-
-
-def listdir(path):
- # patch listdir to avoid looking into node_modules
- l = old_listdir(path)
- if "node_modules" in l:
- l.remove("node_modules")
- return l
-os.listdir = listdir
-
def check_output(cmd):
"""Version of check_output which does not throw error"""
--
2.15.1
|