Rev 6157: Bah, never edit without testing before submission. in file:///home/vila/src/bzr/bugs/856261-unshelve-line-based/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Tue Sep 27 16:37:53 UTC 2011
At file:///home/vila/src/bzr/bugs/856261-unshelve-line-based/
------------------------------------------------------------
revno: 6157
revision-id: v.ladeuil+lp at free.fr-20110927163753-iabf22rtysmi3iot
parent: v.ladeuil+lp at free.fr-20110927161725-6b2z9jq6229bry6c
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 856261-unshelve-line-based
timestamp: Tue 2011-09-27 18:37:53 +0200
message:
Bah, never edit without testing before submission.
-------------- next part --------------
=== modified file 'bzrlib/shelf_ui.py'
--- a/bzrlib/shelf_ui.py 2011-09-27 16:17:25 +0000
+++ b/bzrlib/shelf_ui.py 2011-09-27 16:37:53 +0000
@@ -257,7 +257,7 @@
:param message: The message to prompt a user with.
:return: A character.
"""
- char_based = os.environ.get('INSIDE_EMACS', None) is not None
+ char_based = not(os.environ.get('INSIDE_EMACS', None) is not None)
if char_based and not sys.stdin.isatty():
# Since there is no controlling terminal we will hang when
# trying to prompt the user, better abort now. See
More information about the bazaar-commits
mailing list