code: def create_dir(self, jbfile):
          
          try:
              jbfile.create_directory()
          except os.error:
              self.statusbar.showMessage('Could not create path: %s' % jbfile.get_path())
docs: Create a dir for the given dirfile and display an error message, if it fails.
  
          :param jbfile: the jb file to make the directory for
          :type jbfile: class:`JB_File`
          :returns: None
          :rtype: None
          :raises: None