Changeset 795 for kde/kreadconfig
- Timestamp:
- Sep 2, 2009, 6:45:46 PM (15 years ago)
- Location:
- kde/kreadconfig
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/kreadconfig/kreadconfig-test.sh
-
Property svn:keywords
set to
Id
Rev
r794 r795 1 1 #!/bin/bash 2 3 # test application for kreadconfig.py 4 # $Id$ 2 5 3 6 #kde4-config --path config -
Property svn:keywords
set to
-
kde/kreadconfig/kreadconfig.py
r794 r795 52 52 #for i in config.keys(): 53 53 try: 54 print i + "=" + config.readEntry( i)54 print i, "=", config.readEntry( i ).toUtf8() 55 55 except AttributeError: 56 56 # ignore when readEntry does not exist 57 57 print i + " => readEntry not defined" 58 58 #, i.count(), dir(i) 59 pass 60 except UnicodeEncodeError: 61 print i + " => encoding error" 59 62 pass 60 63 print
Note:
See TracChangeset
for help on using the changeset viewer.