From 5eb2364c3dfc1cb9818c1d6d59893bdf53a72cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20H=C3=BCwe?= Date: Fri, 21 Aug 2009 22:22:12 +0000 Subject: [PATCH] - "plaintext_passwd" and "checkout_no_colon" should be booleans --- osc/conf.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/osc/conf.py b/osc/conf.py index bb128565..5928cf74 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -75,13 +75,13 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org', # default project for branch or bco 'branch_project': 'openSUSE:Factory', # alternate filesystem layout: have multiple subdirs, where colons were. - 'checkout_no_colon': 0, + 'checkout_no_colon': '0', # local files to ignore with status, addremove, .... 'exclude_glob': '.osc CVS .svn .* _linkerror *~ #*# *.orig *.bak', # keep passwords in plaintext. If you see this comment, your osc # already uses the encrypted password, and only keeps them in plain text # for backwards compatibility. Default will change to 0 in future releases. - 'plaintext_passwd': 1, + 'plaintext_passwd': '1', # limit the age of requests shown with 'osc req list'. # this is a default only, can be overridden by 'osc req list -D NNN' # Use 0 for unlimted. @@ -94,7 +94,8 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org', # it will hold the parsed configuration config = DEFAULTS.copy() -boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback', 'check_filelist'] +boolean_opts = ['debug', 'do_package_tracking', 'http_debug', 'post_mortem', 'traceback', 'check_filelist', 'plaintext_passwd', + 'checkout_no_colon'] new_conf_template = """ [general]