changeset 24:183cee927d8b

STUB: silvermirror/hg.py
author Jeff Hammel <k0scist@gmail.com>
date Thu, 30 Jan 2014 20:31:03 -0800
parents 4f1e45a8656c
children cedf9a0e3d61
files silvermirror/hg.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/silvermirror/hg.py	Tue Jan 21 09:24:15 2014 -0800
+++ b/silvermirror/hg.py	Thu Jan 30 20:31:03 2014 -0800
@@ -34,6 +34,7 @@
 
     commands.pull(_ui, repo, url, rev=None, force=False, update=True)
 
+# TODO:
 # def repositories(path):
 #     """
 #     return all hg repositories in a path
@@ -58,7 +59,7 @@
     """
     element = lxml.html.parse(url)
     tds = element.xpath('//tr[position() > 1]/td[1]')
-    repos = [ i.text_content() for i in tds ]
+    repos = [i.text_content() for i in tds]
     return repos