Commits

Fredrik Håård committed 51ceb88 Merge

Merged in stephenpaulger/hgapi/issue22 (pull request #17)

Fix issue #22. Buggy exception message.

Comments (0)

Files changed (1)

 
         if proc.returncode:
             cmd = " ".join(cmd)
-            raise HgException("Error running %s:\n\" + "
-                              "tErr: %s\n\t"
-                              "Out: %s\n\t"
-                              "Exit: %s"
+            raise HgException("Error running %s:\n" 
+                              "\tErr: %s\n" 
+                              "\tOut: %s\n" 
+                              "\tExit: %s"
                               % (cmd, err, out, proc.returncode),
                               exit_code=proc.returncode)