Changeset 2010 for pykota/trunk
- Timestamp:
- 01/07/05 13:40:53 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/dumpykota
r1991 r2010 24 24 # 25 25 # $Log$ 26 # Revision 1.18 2005/01/07 12:40:53 jalet 27 # Fixed field type's name in XML dumps. 28 # 26 29 # Revision 1.17 2004/12/21 15:50:00 jalet 27 30 # The dumpykota command now supports extended filtering capabilities with … … 294 297 for i in range(len(entry)) : 295 298 value = str(entry[i]) 299 typval = type(entry[i]).__name__ 296 300 try : 297 301 value = unicode(value, self.getCharset()).encode("UTF-8") 298 302 except UnicodeError : 299 303 pass 300 x.attribute(value, type=typ e(value).__name__, name=headers[i])304 x.attribute(value, type=typval, name=headers[i]) 301 305 x._pop() 302 306 x._output(self.outfile) -
pykota/trunk/NEWS
r2006 r2010 24 24 - 1.21alpha17 : 25 25 26 - Fixed field type's name in XML dumps. 27 26 28 - Now drops priviledges to user 'pykota' when launched as root 27 29 (directly or as a CUPS backend), if such an user exists.