Changeset 1482
- Timestamp:
- 08/27/08 09:36:08 (4 months ago)
- Files:
-
- wine-doors/trunk/repos/applications.repo/packlist.xml (modified) (1 diff)
- wine-doors/trunk/repos/regen-packlist.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wine-doors/trunk/repos/applications.repo/packlist.xml
r1464 r1482 99 99 <description>Microsoft's legally encumbered media player</description> 100 100 <default_version>9</default_version> 101 <ms-license>True</ms-license> 101 102 <pack major_version="6"> 102 103 <wdi wineversion="0.9.30" winevariant="winehq" appdb_rating="Gold" votes="5" version="6.4">wmp-6.4.wdi</wdi> wine-doors/trunk/repos/regen-packlist.py
r1479 r1482 12 12 13 13 import sys, os 14 from xml.dom.minidom import parse 14 from xml.dom.minidom import parse, getDOMImplementation 15 16 # Helper class 17 class PackParser( object ): 18 19 def __init__( self, packuri ): 20 self.packuri = packuri 21 22 def 23 15 24 16 25 # Get list of repos … … 126 135 rootElement = newDoc.documentElement 127 136 128 for pack in packs: 129 pass 137 for repo in repos: 138 packlist = open( repo.split(".")[0] + ".xml", "w" ) 139 140 for pack in packs: 141 if pack.startswith( os.getcwd() + "/" + repo ): 142 print pack 130 143 131 144
