Commits

Anonymous committed 317e326 Merge

Merge

Comments (0)

Files changed (1)

lib/galaxy/webapps/community/controllers/upload.py

                     else:
                         content_alert_str = ''
                     commands.add( repo.ui, repo, full_path )
+                    # Convert from unicode to prevent "TypeError: array item must be char"
+                    full_path = full_path.encode('ascii', 'replace')
                     try:
                         commands.commit( repo.ui, repo, full_path, user=trans.user.username, message=commit_message )
                     except Exception, e: