Changeset 796 for kde/kreadconfig/kreadconfig.py
- Timestamp:
- Sep 4, 2009, 12:08:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/kreadconfig/kreadconfig.py
r795 r796 50 50 #print dir(config) 51 51 for i in config.entryMap(): 52 #for i in config.keys(): 52 immutaleString = '' 53 if config.isEntryImmutable( i ): 54 immutaleString = "[$i]" 53 55 try: 54 print i, "=", config.readEntry( i ).toUtf8()56 print i + immutaleString, "=", config.readEntry( i ).toUtf8() 55 57 except AttributeError: 56 57 58 59 58 # ignore when readEntry does not exist 59 print i + " => readEntry not defined" 60 #, i.count(), dir(i) 61 pass 60 62 except UnicodeEncodeError: 61 62 63 print i + " => encoding error" 64 pass 63 65 print 64 66
Note:
See TracChangeset
for help on using the changeset viewer.