Changeset 43 for trunk/src/util/aptutil.py
- Timestamp:
- 24-09-2008 22:40:43 (5 years ago)
- Files:
-
- 1 modified
-
trunk/src/util/aptutil.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/aptutil.py
r39 r43 122 122 123 123 return "" 124 125 def getSectionPackages(section, list): 126 Packages = [] 127 for dic in list: 128 if getSection(dic['Section']) == section: 129 Packages.append(dic) 130 return Packages 124 131 125 132 def setSection(section): … … 194 201 elif section == "X Window System software": 195 202 return "x11" 203 elif section == "All packages": 204 return "all" 196 205 197 206 return ""