mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-13 18:01:28 +00:00
question
This commit is contained in:
parent
194d23e878
commit
57ea2cc410
@ -15,6 +15,8 @@
|
|||||||
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from ubuntutools.question import Question, YesNoQuestion
|
from ubuntutools.question import Question, YesNoQuestion
|
||||||
@ -43,5 +45,5 @@ def ask_for_manual_fixing():
|
|||||||
def user_abort():
|
def user_abort():
|
||||||
"""Print abort and quit the program."""
|
"""Print abort and quit the program."""
|
||||||
|
|
||||||
print "User abort."
|
print("User abort.")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user