Skip to content

Commit

Permalink
mend
Browse files Browse the repository at this point in the history
  • Loading branch information
fontanon committed Jan 4, 2012
1 parent 6fb09b0 commit 78fd86a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions udevdiscover/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def loadconf(self, only_defaults=False):
GConf.ValueType.INT: GConf.Value.get_int,
GConf.ValueType.FLOAT: GConf.Value.get_float,
GConf.ValueType.STRING: GConf.Value.get_string}
# This will be disabled until get_list method is implemented
# GConf.ValueType.LIST: GConf.Value.get_list}
# This will be disabled until get_list method is implemented
# GConf.ValueType.LIST: GConf.Value.get_list}

if only_defaults:
#FIXME: Why appears this message in stderr?
Expand Down Expand Up @@ -89,11 +89,11 @@ def saveconf(self):
types.FloatType: GConf.Client.set_float,
types.StringType: GConf.Client.set_string}
# This will be disabled until set_list method is implemented
"""
types.ListType: GConf.Client.set_list,
types.TupleType: GConf.Client.set_list,
set: GConf.Client.set_list}
"""
"""
types.ListType: GConf.Client.set_list,
types.TupleType: GConf.Client.set_list,
set: GConf.Client.set_list}
"""

#TODO: To clear the gconf dir before save, is it convenient?
for name, value in self.options.items():
Expand Down

0 comments on commit 78fd86a

Please sign in to comment.