commit/galaxy-central: dan: Fix for Data Tables persisting when .loc file doesn't exist.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/70caaa5b7ff7/ Changeset: 70caaa5b7ff7 User: dan Date: 2015-02-11 17:33:49+00:00 Summary: Fix for Data Tables persisting when .loc file doesn't exist. Affected #: 1 file diff -r 75d1aa0e7663ec42f004a785ece731fd992f979d -r 70caaa5b7ff7dd4a11ddead7d946cb145e58686a lib/galaxy/tools/data/__init__.py --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -513,7 +513,7 @@ 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 Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org