removing windows-like senseless confirmation requests
authorSimon Stelling <blubb@gentoo.org>
Mon, 12 Jun 2006 17:33:17 +0000 (17:33 -0000)
committerSimon Stelling <blubb@gentoo.org>
Mon, 12 Jun 2006 17:33:17 +0000 (17:33 -0000)
svn path=/main/trunk/; revision=3498

bin/emerge

index a1edad024a7fcc19ef9233fdf2cbabc512fb8c70..4dba19684a85149acf1697f54bf26112a785f08e 100755 (executable)
@@ -2608,9 +2608,6 @@ if myaction in ["sync","metadata"] and (not "--help" in myopts):
        syncuri=string.rstrip(portage.settings["SYNC"])
        os.umask(0022)
        if myaction == "metadata":
-               if "--ask" in myopts:
-                       if userquery("Are you sure?") == "No":
-                               sys.exit(1)
                print "skipping sync"
                updatecache_flg = True
                tmpservertimestampfile = None