1 |
commit: c965a035d1d037e8fd780e3e4fb40b2dd39db2fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 1 11:54:54 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 1 11:54:54 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=c965a035 |
7 |
|
8 |
Call EbuildRepository.__init__() in NewEbuildRepository. |
9 |
|
10 |
--- |
11 |
PMSTestSuite/repository/__init__.py | 5 ++--- |
12 |
1 files changed, 2 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/PMSTestSuite/repository/__init__.py b/PMSTestSuite/repository/__init__.py |
15 |
index 4496361..476f84f 100644 |
16 |
--- a/PMSTestSuite/repository/__init__.py |
17 |
+++ b/PMSTestSuite/repository/__init__.py |
18 |
@@ -77,9 +77,6 @@ class NewEbuildRepository(EbuildRepository): |
19 |
""" |
20 |
Create a new ebuild repository in <path>. Name it <repo_name>. |
21 |
""" |
22 |
- self.path = path |
23 |
- self.repo_name = repo_name |
24 |
- |
25 |
rnpath = os.path.join(path, 'profiles', 'repo_name') |
26 |
dirpath = os.path.dirname(rnpath) |
27 |
|
28 |
@@ -88,3 +85,5 @@ class NewEbuildRepository(EbuildRepository): |
29 |
f = open(rnpath, 'w') |
30 |
f.write(repo_name) |
31 |
f.close() |
32 |
+ |
33 |
+ EbuildRepository.__init__(self, path) |