(self)
return True
creates properties with pathnames for easy
        access to the several repository directories
creates properties with pathnames for easy
        access to the several repository directories
creates properties with pathnames for easy access to the several repository directories
def create_repo(self):
        """creates properties with pathnames for easy
        access to the several repository directories
        """
        try:
            if not os.path.exists(self.topdir):
                os.makedirs(self.topdir)
            if not os.path.exists(self.reposdir):
                os.makedirs(self.reposdir)
            if not os.path.exists(self.layersdir):
                os.makedirs(self.layersdir)
            if not os.path.exists(self.containersdir):
                os.makedirs(self.containersdir)
            if not os.path.exists(self.bindir):
                os.makedirs(self.bindir)
            if not os.path.exists(self.libdir):
                os.makedirs(self.libdir)
            if not os.path.exists(self.docdir):
                os.makedirs(self.docdir)
            if not (Config.conf['keystore'].startswith("/") or \
                    os.path.exists(self.homedir)):
                os.makedirs(self.homedir)
        except(IOError, OSError):
            return False
        return True
def create_repo ( self ) : try : if not os . path . exists ( self . topdir ) : os . makedirs ( self . topdir ) if not os . path . exists ( self . reposdir ) : os . makedirs ( self . reposdir ) if not os . path . exists ( self . layersdir ) : os . makedirs ( self . layersdir ) if not os . path . exists ( self . containersdir ) : os . makedirs ( self . containersdir ) if not os . path . exists ( self . bindir ) : os . makedirs ( self . bindir ) if not os . path . exists ( self . libdir ) : os . makedirs ( self . libdir ) if not os . path . exists ( self . docdir ) : os . makedirs ( self . docdir ) if not ( Config . conf [ 'keystore' ] . startswith ( "/" ) or os . path . exists ( self . homedir ) ) : os . makedirs ( self . homedir ) except ( IOError , OSError ) : return False return True