Fixed

--  
James Harrington
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, 15 April 2014 at 5:10 pm, Benny Chew wrote:

> In dynamodump.py:
> > @@ -37,7 +38,18 @@ def get_table_name_matches(conn, table_name_wildcard): > > def get_restore_table_matches(table_name_wildcard): > matching_tables = [] > - dir_list = os.listdir("./" + DUMP_PATH) > + try: > + dir_list = os.listdir("./" + DUMP_PATH) > + except OSError: > + logging.info (http://logging.info)("Cannot find \"./%s\", Now trying current working directory.." % DUMP_PATH) > + dump_data_path = CURRENT_WORKING_DIR > + try: > + dir_list = os.listdir(dump_data_path) > + except OSError: > + logging.info (http://logging.info)("Cannot find \"%s\" directory containing dump files!" % dump_data_path) > + sys.exit(1) > + > + print dir_list  
> Remove this
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/bchew/dynamodump/pull/4/files#r11622215).
>  
>  
>