def _build_userconfig(self):
        try:
            #username = self.__getitem__("username")
            username = self._cache["username"]
        except __HOLE__:
            username = os.environ["USER"]
        try:
            cont = self.get_container(username)
        except config.NoResultFound:
            self.add_container(username)
            cont = self.get_container(username)
        cont.register_user(username)
        return cont



##### end of RootContainer ######

# Runtime objects that bind sessions and database rows and provide helper
# methods and properties. Attributes table is made available using the
# mapping interface (getitem).
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/config.py/RootContainer._build_userconfig