original_docstring:  Display available pkgs which have PACKAGECONFIG flags 
docstring: Display available pkgs which have PACKAGECONFIG flags
docstring_tokens: Display available pkgs which have PACKAGECONFIG flags
code: def display_pkgs(pkg_dict):
      ''' Display available pkgs which have PACKAGECONFIG flags '''
      pkgname_len = len("RECIPE NAME") + 1
      for pkgname in pkg_dict:
          if pkgname_len < len(pkgname):
              pkgname_len = len(pkgname)
      pkgname_len += 1
  
      header = '%-*s%s' % (pkgname_len, str("RECIPE NAME"), str("PACKAGECONFIG FLAGS"))
      print(header)
      print(str("").ljust(len(header), '='))
      for pkgname in sorted(pkg_dict):
          print('%-*s%s' % (pkgname_len, pkgname, ' '.join(pkg_dict[pkgname])))
code_tokens: def display_pkgs ( pkg_dict ) : pkgname_len = len ( "RECIPE NAME" ) + 1 for pkgname in pkg_dict : if pkgname_len < len ( pkgname ) : pkgname_len = len ( pkgname ) pkgname_len += 1 header = '%-*s%s' % ( pkgname_len , str ( "RECIPE NAME" ) , str ( "PACKAGECONFIG FLAGS" ) ) print ( header ) print ( str ( "" ) . ljust ( len ( header ) , '=' ) ) for pkgname in sorted ( pkg_dict ) : print ( '%-*s%s' % ( pkgname_len , pkgname , ' ' . join ( pkg_dict [ pkgname ] ) ) )
short_docstring: Display available pkgs which have PACKAGECONFIG flags
short_docstring_tokens: Display available pkgs which have PACKAGECONFIG flags
comment: ''' Display available pkgs which have PACKAGECONFIG flags '''