@@ -241,23 +241,23 @@ def retryacceptincludingnextchangesets(self, change, changes):
241241 Changes .discard (self .config , * toaccept ) # revert initial state
242242 return changestoskip
243243
244- def is_user_agreeing_to_accept_next_change (self , change ):
244+ @staticmethod
245+ def is_user_agreeing_to_accept_next_change (change ):
245246 messagetoask = "Press Y for accepting following changes, press N to skip"
246- if not self .config .useautomaticconflictresolution :
247- while True :
248- answer = input (messagetoask ).lower ()
249- if answer == "y" :
250- return True
251- elif answer == "n" :
252- shouter .shout ("Last executed command: \n " + Changes .latest_accept_command )
253- shouter .shout ("Apropriate git commit command \n " + Commiter .getcommitcommand (change ))
254- reallycontinue = "Do you want to continue? Y for continue, any key for abort"
255- if input (reallycontinue ).lower () == "y" :
256- return False
257- else :
258- sys .exit ("Please check the output/log and rerun program with resume" )
247+ while True :
248+ answer = input (messagetoask ).lower ()
249+ if answer == "y" :
250+ return True
251+ elif answer == "n" :
252+ shouter .shout ("Last executed command: \n " + Changes .latest_accept_command )
253+ shouter .shout ("Apropriate git commit command \n " + Commiter .getcommitcommand (change ))
254+ reallycontinue = "Do you want to continue? Y for continue, any key for abort"
255+ if input (reallycontinue ).lower () == "y" :
256+ return False
259257 else :
260- shouter .shout ("Please answer with Y/N, input was " + answer )
258+ sys .exit ("Please check the output/log and rerun program with resume" )
259+ else :
260+ shouter .shout ("Please answer with Y/N, input was " + answer )
261261
262262 @staticmethod
263263 def getnextchangeset (currentchangeentry , changeentries ):
0 commit comments