- Timestamp:
- Sep 4, 2009, 12:08:25 PM (15 years ago)
- Location:
- kde/kreadconfig
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/kreadconfig/kreadconfig-test.sh
r795 r796 6 6 #kde4-config --path config 7 7 8 echo "set KDEDIRS to test/profile1 and test/profile2"8 #echo "set KDEDIRS to test/profile1 and test/profile2" 9 9 export KDEDIRS=$PWD/test/profile1:$PWD/test/profile2 10 echo KDEDIRS=$KDEDIRS 10 11 11 12 #echo $KDEDIRS -
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.