1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b6241599d1d0/ changeset: b6241599d1d0 user: jgoecks date: 2013-02-13 19:19:55 summary: Python 2.5 compatibility fix. affected #: 1 file diff -r a6710d64e2d8081e07050696e377c5f864dd1f9f -r b6241599d1d0bbb4b9ba670bde9fbb421ef6c396 lib/galaxy/tools/data/__init__.py --- a/lib/galaxy/tools/data/__init__.py +++ b/lib/galaxy/tools/data/__init__.py @@ -244,7 +244,7 @@ separator_char = (lambda c: '<TAB>' if c == '\t' else c)(self.separator) rval = [] - for i, line in enumerate( reader, start=1 ): + for i, line in enumerate( reader ): if line.lstrip().startswith( self.comment_char ): continue line = line.rstrip( "\n\r" ) @@ -255,7 +255,7 @@ else: log.warn( "Line %i in tool data table '%s' is invalid (HINT: " "'%s' characters must be used to separate fields):\n%s" - % ( i, self.name, separator_char, line ) ) + % ( ( i + 1 ), self.name, separator_char, line ) ) return rval def get_entry( self, query_attr, query_val, return_attr ): 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.