mirror of
https://github.com/openharmony/third_party_cryptsetup.git
synced 2026-07-19 19:53:45 -04:00
fix stdout flush
This commit is contained in:
@@ -172,6 +172,7 @@ Gerrit Code Review: http://code.google.com/p/gerrit/
|
||||
|
||||
pushurl = project.manifest.manifestProject.config.GetString('repo.pushurl')
|
||||
sys.stdout.write('to %s (y/n)? ' % (pushurl and 'server: ' + pushurl or 'remote') )
|
||||
sys.stdout.flush()
|
||||
answer = sys.stdin.readline().strip()
|
||||
answer = answer in ('y', 'Y', 'yes', '1', 'true', 't')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user