* [gentoo-commits] portage r15605 - main/branches/2.1.7/pym/portage/dbapi
@ 2010-03-02 20:32 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-03-02 20:32 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-03-02 20:32:42 +0000 (Tue, 02 Mar 2010)
New Revision: 15605
Modified:
main/branches/2.1.7/pym/portage/dbapi/porttree.py
Log:
Remove the deprecated 'clone' parameter from the portagetree constructor.
(trunk r15378)
Modified: main/branches/2.1.7/pym/portage/dbapi/porttree.py
===================================================================
--- main/branches/2.1.7/pym/portage/dbapi/porttree.py 2010-03-02 20:32:33 UTC (rev 15604)
+++ main/branches/2.1.7/pym/portage/dbapi/porttree.py 2010-03-02 20:32:42 UTC (rev 15605)
@@ -1176,7 +1176,7 @@
i.close_caches()
class portagetree(object):
- def __init__(self, root="/", virtual=None, clone=None, settings=None):
+ def __init__(self, root="/", virtual=None, settings=None):
"""
Constructor for a PortageTree
@@ -1184,19 +1184,11 @@
@type root: String/Path
@param virtual: UNUSED
@type virtual: No Idea
- @param clone: Set this if you want a copy of Clone
- @type clone: Existing portagetree Instance
@param settings: Portage Configuration object (portage.settings)
@type settings: Instance of portage.config
"""
- if clone:
- writemsg("portagetree.__init__(): deprecated " + \
- "use of clone parameter\n", noiselevel=-1)
- self.root = clone.root
- self.portroot = clone.portroot
- self.pkglines = clone.pkglines
- else:
+ if True:
self.root = root
if settings is None:
from portage import settings
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-02 20:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-02 20:32 [gentoo-commits] portage r15605 - main/branches/2.1.7/pym/portage/dbapi Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox