Changeset 795 for kde/kreadconfig


Ignore:
Timestamp:
Sep 2, 2009, 6:45:46 PM (15 years ago)
Author:
joergs
Message:

extended tests

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  
    11#!/bin/bash
     2
     3# test application for kreadconfig.py
     4# $Id$
    25
    36#kde4-config --path config
  • kde/kreadconfig/kreadconfig.py

    r794 r795  
    5252      #for i in config.keys():
    5353      try:
    54         print i + "=" + config.readEntry( i )
     54        print i, "=", config.readEntry( i ).toUtf8()
    5555      except AttributeError:
    5656        # ignore when readEntry does not exist
    5757        print i + " => readEntry not defined"
    5858        #, i.count(), dir(i)
     59        pass
     60      except UnicodeEncodeError:
     61        print i + " => encoding error"
    5962        pass
    6063  print
Note: See TracChangeset for help on using the changeset viewer.