changeset 26:16a12d660609

STUB: silvermirror/hg.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 31 Jan 2014 18:56:29 -0800
parents cedf9a0e3d61
children a648f57b1921
files silvermirror/hg.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/silvermirror/hg.py	Fri Jan 31 08:04:22 2014 -0800
+++ b/silvermirror/hg.py	Fri Jan 31 18:56:29 2014 -0800
@@ -46,7 +46,7 @@
 
 #     repos = []
 #     for d in directories:
-#         try: 
+#         try:
 #             repo = hg.repository(ui, d)
 #             repos.append(os.path.basename(d))
 #         except mercurial.repo.RepoError:
@@ -74,7 +74,7 @@
     options, args = parser.parse_args(args)
     if not requirements_fulfilled:
         # Hack; this should all be better o_O
-        parser.error("Must have mercurial and lxml packages to use, sorry")
+        parser.error("Must have mercurial and lxml packages to use, sorry: {}".format(e))
     if not options.host:
         parser.print_usage()
         parser.exit()