From a2bcf80aaead828f6b0855455ac031cdb399caeb Mon Sep 17 00:00:00 2001 From: kanikaa1234 Date: Fri, 8 Apr 2016 20:51:07 +0530 Subject: [PATCH] Fixed the tests --- qutebrowser/browser/commands.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index a662c8465..5141ed552 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -440,14 +440,11 @@ class CommandDispatcher: window: Open the link in a new window. """ path = url.path() - #print (url.Qurl) - print (path) if not path or path == '/': raise cmdexc.CommandError("Can't go up!") new_path = posixpath.join(path, posixpath.pardir) - print (new_path) url.setPath(new_path) - url.setFragment('') + url.setFragment(None) self._open(url, tab, background, window) @cmdutils.register(instance='command-dispatcher', scope='window')