rather than for each dblink constructor call.
svn path=/main/trunk/; revision=8152
This class provides an interface to the installed package database
At present this is implemented as a text backend in /var/db/pkg.
"""
+
+ import re
+ _normalize_needed = re.compile(r'//|^[^/]|.+/$')
+
def __init__(self, cat, pkg, myroot, mysettings, treetype=None,
vartree=None):
"""
self._installed_instance = None
self.contentscache = None
self._contents_inodes = None
- import re
- self._normalize_needed = re.compile(r'//|^[^/]|.+/$')
def lockdb(self):
if self._lock_vdb: