diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 1169024b8..b9f3e8cc8 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -84,7 +84,7 @@ class portdbapi(dbapi): porttree_root = self.settings['PORTDIR'] - if _unused_param is not None: + if _unused_param is not None and _unused_param != porttree_root: warnings.warn("The first parameter of the " + \ "portage.dbapi.porttree.portdbapi" + \ " constructor is now unused. " + \ |