/[gli]/branches/overhaul/src/GLIUtility.py
Gentoo

Diff of /branches/overhaul/src/GLIUtility.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1779 Revision 1780
916 results = [] 916 results = []
917 for pkg in output: 917 for pkg in output:
918 results.append(pkg[(pkg.find('/')+1):]) 918 results.append(pkg[(pkg.find('/')+1):])
919 return results 919 return results
920 """ 920 """
921 return spawn(r"find /var/db/pkg -mindepth 2 -maxdepth 2 -type d | sed -e 's:^/var/db/pkg/::' -e 's:-[0-9].*$::'", return_output=True)[1].strip().split("\n") 921 return spawn(r"find /var/db/pkg -mindepth 2 -maxdepth 2 -type d | sed -e 's:^/var/db/pkg/::' -e 's:-[0-9].*$::' -e 's:^.\+/::'", return_output=True)[1].strip().split("\n")
922 922
923def get_keymaps(): 923def get_keymaps():
924 return GLIUtility.spawn(r"find /usr/share/keymaps -iname *.map.gz | sed -e 's:^.\+/::' -e 's:\..\+$::' | sort", return_output=True)[1].strip().split("\n") 924 return GLIUtility.spawn(r"find /usr/share/keymaps -iname *.map.gz | sed -e 's:^.\+/::' -e 's:\..\+$::' | sort", return_output=True)[1].strip().split("\n")
925 925
926def get_chosts(arch): 926def get_chosts(arch):

Legend:
Removed from v.1779  
changed lines
  Added in v.1780

  ViewVC Help
Powered by ViewVC 1.1.20