"""
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design"
__license__ = "GNU GPL"
__all__ = ['robot_urllib']
def get_ftp_welcome(self):
global ftpcache_key
_welcome = urllib._urlopener.ftpcache[ftpcache_key].ftp.welcome
- ftpcache_key = None # I am assuming there are no duplicate ftp URLs in db.
- # If there are - ftpcache_key in prev line is invalid.
+ # I am assuming there are no duplicate ftp URLs in db.
+ # If there are - ftpcache_key in next line is invalid.
+ ftpcache_key = None
return _welcome
def finish_check_url(self, bookmark):
"""
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2017 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2000-2023 PhiloSoft Design"
__license__ = "GNU GPL"
import sys
from m_lib.flad import fladm
transl_db = fladm.load_from_file(transl_name, fladm.check_record, ["URL1", "URL2"], [""])
- # This prevents any other key to appear in transl_db ^
+ # This prevents any other key to appear in transl_db ^
# Generate translation dictionary (hash table)
if transl == 1: