From 943cfd07e2158705173c64ffc25284a58b2350d4 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Mon, 31 May 2010 12:56:19 +0000 Subject: [PATCH] 4037: get_full_path method of gen.lib.url uses undefined variable svn: r15517 --- src/gen/lib/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/lib/url.py b/src/gen/lib/url.py index bde2a61d7..47e1d53c0 100644 --- a/src/gen/lib/url.py +++ b/src/gen/lib/url.py @@ -139,7 +139,7 @@ class Url(SecondaryObject, PrivacyBase): """ if self.type == UrlType.EMAIL and not self.path.startswith("mailto:"): return "mailto:" + self.path - elif url.get_type() == UrlType.WEB_FTP and not self.path.startswith("ftp://"): + elif self.type == UrlType.WEB_FTP and not self.path.startswith("ftp://"): return "ftp://" + self.path elif self.parse_path().scheme == '': return "http://" + self.path