X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/170f576bb9eac1dafc139de7b51226d78d31cbbe..b517494ffb555c80cff724f0f4575821d899fe4b:/stgit/commands/refresh.py diff --git a/stgit/commands/refresh.py b/stgit/commands/refresh.py index 20b7546..c5f390f 100644 --- a/stgit/commands/refresh.py +++ b/stgit/commands/refresh.py @@ -66,10 +66,7 @@ options = [make_option('-f', '--force', def func(parser, options, args): - if config.has_option('stgit', 'autoresolved'): - autoresolved = config.get('stgit', 'autoresolved') - else: - autoresolved = 'no' + autoresolved = config.get('stgit', 'autoresolved') if autoresolved != 'yes': check_conflicts()