Ignore:
Timestamp:
Sep 4, 2009, 12:08:25 PM (15 years ago)
Author:
joergs
Message:

show immutable flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/kreadconfig/kreadconfig.py

    r795 r796  
    5050    #print dir(config)
    5151    for i in config.entryMap():
    52       #for i in config.keys():
     52      immutaleString = ''
     53      if config.isEntryImmutable( i ):
     54        immutaleString = "[$i]"
    5355      try:
    54         print i, "=", config.readEntry( i ).toUtf8()
     56        print i + immutaleString, "=", config.readEntry( i ).toUtf8()
    5557      except AttributeError:
    56         # ignore when readEntry does not exist
    57         print i + " => readEntry not defined"
    58         #, i.count(), dir(i)
    59         pass
     58      # ignore when readEntry does not exist
     59        print i + " => readEntry not defined"
     60        #, i.count(), dir(i)
     61        pass
    6062      except UnicodeEncodeError:
    61         print i + " => encoding error"
    62         pass
     63        print i + " => encoding error"
     64        pass
    6365  print
    6466
Note: See TracChangeset for help on using the changeset viewer.