Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/pm/
Date: Sun, 29 May 2011 18:57:48
Message-Id: a7a0ed61a9b96b62a9d428e693bbf1c12c901fb4.mgorny@gentoo
1 commit: a7a0ed61a9b96b62a9d428e693bbf1c12c901fb4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 18:52:17 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 18:52:17 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=a7a0ed61
7
8 Return to start directory after creating Manifests.
9
10 ---
11 PMSTestSuite/pm/portage.py | 2 ++
12 1 files changed, 2 insertions(+), 0 deletions(-)
13
14 diff --git a/PMSTestSuite/pm/portage.py b/PMSTestSuite/pm/portage.py
15 index 8a7763f..d31bd44 100644
16 --- a/PMSTestSuite/pm/portage.py
17 +++ b/PMSTestSuite/pm/portage.py
18 @@ -29,9 +29,11 @@ class PortagePM(PackageManager):
19 return ret
20
21 def remanifest(self, paths):
22 + startdir = os.getcwd()
23 for path in paths:
24 os.chdir(path)
25 subprocess.check_call([self.repoman_path, 'manifest'])
26 + os.chdir(startdir)
27
28 def merge(self, atoms):
29 ret = subprocess.call([self.emerge_path] + atoms,