Commits

Vadim Fint committed 39b3f48

Replace "if shouldprompt == True" comparisons with just "if shouldprompt"

Comments (0)

Files changed (1)

 
     # If we're not to prompt (i.e. they specified the --all flag)
     # we pre-emptively set the 'all' flag
-    if shouldprompt == False:
+    if not shouldprompt:
         resp_all = ['y']
 
     resp_file = [None]
             seen[hdr] = True
             if resp_all[0] is None:
                 chunk.pretty(ui)
-            if shouldprompt == True:
+            if shouldprompt:
                 r = prompt(_('shelve changes to %s?') %
                        _(' and ').join(map(repr, chunk.files())))
             else: