Fmirra commited on
Commit
6f9fe47
1 Parent(s): 3bc0298

Update train_block.tsv

Browse files
Files changed (1) hide show
  1. 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
- nan Start expect block \n Do nothing
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 'me@your.com', quit the connection and then return True try: \n ftp = ftplib.FTP(hostname) \n ftp.login('anonymous', 'me@your.com') \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 'me@your.com', quit the connection and then return True try: \n ftp = ftplib.FTP(hostname) \n ftp.login('anonymous', 'me@your.com') \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"