Changeset 989 for dassmodus/trunk
- Timestamp:
- Apr 6, 2012, 10:59:44 AM (13 years ago)
- Location:
- dassmodus/trunk/dassmodus/nosferatu/nosferatu/tools
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dassmodus/trunk/dassmodus/nosferatu/nosferatu/tools/bacsource2configrules.py
r988 r989 239 239 else: 240 240 value = defvalue(type, name, None) 241 #s += " %s,\n" % repr(Item(name, value, defaultvalue, default, type, required))242 if defaultvalue == None:243 defaultvalue = ''244 if required == True:245 required = 'Ja'246 else:247 required = 'Nein'248 type = type.replace('store_','').replace('_','\_')249 s += "%s & %s & %s & %s \\\\ \n" % (PrettyNames[name], defaultvalue ,type, required)241 s += " %s,\n" % repr(Item(name, value, defaultvalue, default, type, required)) 242 #if defaultvalue == None: 243 # defaultvalue = '' 244 #if required == True: 245 # required = 'Ja' 246 #else: 247 # required = 'Nein' 248 #type = type.replace('store_','').replace('_','\_') 249 #s += "%s & %s & %s & %s \\\\ \n" % (PrettyNames[name], defaultvalue ,type, required) 250 250 s += "]\n" 251 251 print s
Note:
See TracChangeset
for help on using the changeset viewer.