diff --git a/lib/galaxy/tools/data/__init__.py b/lib/galaxy/tools/data/__init__.py index 190a9c18fd5..2f648ac0b0c 100644 --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -495,7 +495,7 @@ class TabularToolDataTable( ToolDataTable, Dictifiable ): try: data_table_fh = open( filename, 'r+b' ) except IOError, e: - log.warning( 'Error opening data table file (%s) with r+b, assuming file does not exist and will open as wb: %s', self.filename, e ) + log.warning( 'Error opening data table file (%s) with r+b, assuming file does not exist and will open as wb: %s', filename, e ) data_table_fh = open( filename, 'wb' ) if os.stat( filename )[6] != 0: # ensure last existing line ends with new line