Update train_block.tsv
Browse files- train_block.tsv +1 -1
train_block.tsv
CHANGED
@@ -85,7 +85,7 @@ If __name__ equals '__main__' then call function main with no arguments if __nam
|
|
85 |
If cookiesDB is a file call the function printCookies with argument cookiesDB if os.path.isfile(cookiesDB): \n printCookies(cookiesDB)
|
86 |
Else Assign to src the src of options else: \n src = options.src
|
87 |
Try a connection FTP to hostname, login with userName and passWord then quit and return userName and passWord try: \n ftp = ftplib.FTP(hostname) \n ftp.login(userName, passWord) \n ftp.quit() \n return (userName, passWord) \n
|
88 |
-
|
89 |
Start except block with Exception and e then do nothing except Exception, e: \n pass
|
90 |
Try to connect to hostname with FTP protocol, with credentials 'anonymous' and '[email protected]', quit the connection and then return True try: \n ftp = ftplib.FTP(hostname) \n ftp.login('anonymous', '[email protected]') \n ftp.quit() \n return True \n
|
91 |
"Connect to the database skypeDB and execute the command ""SELECT datetime(begin_timestamp,'unixepoch'), identity FROM calls, conversations WHERE calls.conv_dbid = conversations.id;""" "def printCallLog(skypeDB): \n conn = sqlite3.connect(skypeDB) \n c = conn.cursor() \n c.execute(""SELECT datetime(begin_timestamp,'unixepoch'), identity FROM calls, conversations WHERE calls.conv_dbid = conversations.id;"" \n"
|
|
|
85 |
If cookiesDB is a file call the function printCookies with argument cookiesDB if os.path.isfile(cookiesDB): \n printCookies(cookiesDB)
|
86 |
Else Assign to src the src of options else: \n src = options.src
|
87 |
Try a connection FTP to hostname, login with userName and passWord then quit and return userName and passWord try: \n ftp = ftplib.FTP(hostname) \n ftp.login(userName, passWord) \n ftp.quit() \n return (userName, passWord) \n
|
88 |
+
Start except block \n Do nothing except: \n pass
|
89 |
Start except block with Exception and e then do nothing except Exception, e: \n pass
|
90 |
Try to connect to hostname with FTP protocol, with credentials 'anonymous' and '[email protected]', quit the connection and then return True try: \n ftp = ftplib.FTP(hostname) \n ftp.login('anonymous', '[email protected]') \n ftp.quit() \n return True \n
|
91 |
"Connect to the database skypeDB and execute the command ""SELECT datetime(begin_timestamp,'unixepoch'), identity FROM calls, conversations WHERE calls.conv_dbid = conversations.id;""" "def printCallLog(skypeDB): \n conn = sqlite3.connect(skypeDB) \n c = conn.cursor() \n c.execute(""SELECT datetime(begin_timestamp,'unixepoch'), identity FROM calls, conversations WHERE calls.conv_dbid = conversations.id;"" \n"
|