Remove the checking for the default configuration values
[stgit] / stgit / commands / refresh.py
index 20b7546..c5f390f 100644 (file)
@@ -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()