bug fix: registerscmtools error print

Review Request #1462 — Created March 7, 2010 and submitted — Latest diff uploaded

Information

djs
Review Board

Reviewers

When registerscmtools fails, the errors get lumped together on one line, so call print instead. The dependency on pygments also seems a bit suspect but I didn't look into it.
Ran manage.py registerscmtools

~/reviewboard-dev/reviewboard/reviewboard$ ./manage.py registerscmtools
Unable to load SCMTool svn = reviewboard.scmtools.svn:SVNTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool git = reviewboard.scmtools.git:GitTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool bzr = reviewboard.scmtools.bzr:BZRTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool cvs = reviewboard.scmtools.cvs:CVSTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool perforce = reviewboard.scmtools.perforce:PerforceTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool clearcase = reviewboard.scmtools.clearcase:ClearCaseTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))
Unable to load SCMTool hg = reviewboard.scmtools.hg:HgTool: (Pygments 1.0 (/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg), Requirement.parse('Pygments>=1.1.1'))