summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-02-02 07:39:08 +0100
committerJeroen Roovers <jer@gentoo.org>2017-02-02 07:40:36 +0100
commitbe9709c2fc46c195e20d4946b754c1fed3203c94 (patch)
treee51c698766cf1b12aa4d3f158376ebadb29161d8 /app-portage
parentdev-perl/Test-RequiresInternet: Mark ~hppa (bug #606514). (diff)
downloadgentoo-be9709c2fc46c195e20d4946b754c1fed3203c94.tar.gz
gentoo-be9709c2fc46c195e20d4946b754c1fed3203c94.tar.bz2
gentoo-be9709c2fc46c195e20d4946b754c1fed3203c94.zip
app-portage/layman: Remove old patch. Whitespace.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/layman/files/layman-2.3.0-dir_check.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/app-portage/layman/files/layman-2.3.0-dir_check.patch b/app-portage/layman/files/layman-2.3.0-dir_check.patch
deleted file mode 100644
index af5ec4a2e632..000000000000
--- a/app-portage/layman/files/layman-2.3.0-dir_check.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: Devan Franchini <twitch153@gentoo.org>
-Date: Sat, 30 Apr 2016 18:54:39 -0400
-Subject: [PATCH] Adds dir check for repos.conf rebuilding
-
---- a/layman/updater.py 2015-02-07 22:38:49.000000000 -0500
-+++ b/layman/updater.py 2016-04-30 18:54:39.103894343 -0400
-@@ -182,6 +182,24 @@
-
- def create_repos_conf(self):
- self.output.info(" Creating layman's repos.conf file")
-+
-+ if os.path.isdir(self.config['repos_conf']):
-+ msg = ' create_repos_conf() error: %s is a directory and will\n'\
-+ ' not be written to.' % self.config['repos_conf']
-+ self.output.error(msg)
-+ return None
-+
-+ conf_dir = os.path.dirname(self.config['repos_conf'])
-+
-+ if not os.path.isdir(conf_dir):
-+ try:
-+ os.mkdir(conf_dir)
-+ except OSError as e:
-+ self.output.error(' create_repos_conf() error creating: %s: '\
-+ % conf_dir)
-+ self.output.error(' "%s"' % e)
-+ return None
-+
- layman_inst = LaymanAPI(config=self.config)
- overlays = {}
- for ovl in layman_inst.get_installed():