]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport:
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 1 Jul 2003 04:17:25 +0000 (04:17 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 1 Jul 2003 04:17:25 +0000 (04:17 +0000)
SF bug 753592, websucker

Pass the proper variable when the user supplies a directory.

Misc/NEWS
Tools/webchecker/wsgui.py

index eb746f32f7fed269c04bb9043d715aac5a7e051d..2d83441d56e9e43d37f352c0fa06b85b3625f185 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3,6 +3,8 @@ What's New in Python 2.2.4?
 - SF #746304: Builtin functions are now copy.[deep]copyable.
   Classes are now also deepcopyable.
 
+- SF #753592: webchecker/wsgui now handles user supplied directories.
+
 What's New in Python 2.2.3 (final) ?
 Release date: 30-May-2003
 ====================================
index c301c6fdaf43810ff6de51cd2f19c42a0897da05..3b8a8e44c10ae30d3d71af9397aa1d011cdbd925 100755 (executable)
@@ -162,7 +162,7 @@ class App:
         else:
             self.sucker.savedir = dir
             self.sucker.rootdir = os.path.dirname(
-                websucker.Sucker.savefilename(self, url))
+                websucker.Sucker.savefilename(self.sucker, url))
         self.go_button.configure(state=DISABLED)
         self.auto_button.configure(state=DISABLED)
         self.cancel_button.configure(state=NORMAL)