From: "Christian Ruppert (idl0r)" <idl0r@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in app-portage/layman/files: layman-1.4.2-python-compatbility-fix.patch
Date: Mon, 25 Apr 2011 19:43:01 +0000 (UTC) [thread overview]
Message-ID: <20110425194301.E0BC420057@flycatcher.gentoo.org> (raw)
idl0r 11/04/25 19:43:01
Added: layman-1.4.2-python-compatbility-fix.patch
Log:
Add a patch to fix backward compatibility for python <2.6, bug 363797.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Revision Changes Path
1.1 app-portage/layman/files/layman-1.4.2-python-compatbility-fix.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/files/layman-1.4.2-python-compatbility-fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/layman/files/layman-1.4.2-python-compatbility-fix.patch?rev=1.1&content-type=text/plain
Index: layman-1.4.2-python-compatbility-fix.patch
===================================================================
From a7aac809d740a7393c9fd20f701802a7786bba42 Mon Sep 17 00:00:00 2001
From: Brian Dolbec <brian.dolbec@gmail.com>
Date: Fri, 22 Apr 2011 23:53:19 -0700
Subject: [PATCH] fix bug 363797 python-2.5 test errors.
---
layman/overlays/bzr.py | 2 +-
layman/overlays/cvs.py | 4 ++--
layman/overlays/darcs.py | 2 +-
layman/overlays/git.py | 2 +-
layman/overlays/mercurial.py | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/layman/overlays/bzr.py b/layman/overlays/bzr.py
index e73c2f4..4725c98 100644
--- a/layman/overlays/bzr.py
+++ b/layman/overlays/bzr.py
@@ -61,7 +61,7 @@ class BzrOverlay(OverlaySource):
# bzr pull --overwrite SOURCE
args = ['pull', '--overwrite', self.src]
- return self.run_command(*args, cwd=path([base, self.parent.name]))
+ return self.run_command(args, cwd=path([base, self.parent.name]))
def supported(self):
'''Overlay type supported?'''
diff --git a/layman/overlays/cvs.py b/layman/overlays/cvs.py
index f8fc277..4924ca4 100644
--- a/layman/overlays/cvs.py
+++ b/layman/overlays/cvs.py
@@ -83,7 +83,7 @@ class CvsOverlay(OverlaySource):
args.append(self.parent.name)
args.append(self.subpath)
- return self.run_command(*args, cwd=base, env=dict(CVSROOT=self.src))
+ return self.run_command(args, cwd=base, env=dict(CVSROOT=self.src))
def sync(self, base, quiet = False):
'''Sync overlay.'''
@@ -96,7 +96,7 @@ class CvsOverlay(OverlaySource):
args.append('-q')
args.append('update')
args.append('-d')
- return self.run_command(*args, cwd=path([base, self.parent.name]))
+ return self.run_command(args, cwd=path([base, self.parent.name]))
def supported(self):
'''Overlay type supported?'''
diff --git a/layman/overlays/darcs.py b/layman/overlays/darcs.py
index 7d89477..12e75ec 100644
--- a/layman/overlays/darcs.py
+++ b/layman/overlays/darcs.py
@@ -60,7 +60,7 @@ class DarcsOverlay(OverlaySource):
# darcs pull --all SOURCE
args = ['pull', '--all', self.src]
- return self.run_command(*args, cwd=path([base, self.parent.name]))
+ return self.run_command(args, cwd=path([base, self.parent.name]))
def supported(self):
'''Overlay type supported?'''
diff --git a/layman/overlays/git.py b/layman/overlays/git.py
index caa73f4..8db6c51 100644
--- a/layman/overlays/git.py
+++ b/layman/overlays/git.py
@@ -70,7 +70,7 @@ class GitOverlay(OverlaySource):
args = ['pull']
if quiet:
args.append('-q')
- return self.run_command(*args, cwd=path([base, self.parent.name]))
+ return self.run_command(args, cwd=path([base, self.parent.name]))
def supported(self):
'''Overlay type supported?'''
diff --git a/layman/overlays/mercurial.py b/layman/overlays/mercurial.py
index 06cf59d..ea3f9da 100644
--- a/layman/overlays/mercurial.py
+++ b/layman/overlays/mercurial.py
@@ -60,7 +60,7 @@ class MercurialOverlay(OverlaySource):
# hg pull -u SOURCE
args = ['pull', '-u', self.src]
- return self.run_command(*args, cwd=path([base, self.parent.name]))
+ return self.run_command(args, cwd=path([base, self.parent.name]))
def supported(self):
'''Overlay type supported?'''
--
1.7.3.4
next reply other threads:[~2011-04-25 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 19:43 Christian Ruppert (idl0r) [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-04-27 13:23 [gentoo-commits] gentoo-x86 commit in app-portage/layman/files: layman-1.4.2-python-compatbility-fix.patch Christian Ruppert (idl0r)
2011-04-28 3:25 Jeremy Olexa (darkside)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110425194301.E0BC420057@flycatcher.gentoo.org \
--to=idl0r@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox