Beispiel #1
0
 def f(rev='HEAD'):
     path = py.path.svnurl(url, rev)
     # some try.. except.. here
     if path.check(file=True):
         return unicode(create_html(parse_path(path)))
     elif path.check(dir=True):
         return create_dir_html(path)
     else:
         return create_unknown_html(path)
Beispiel #2
0
 def f(rev=None):
     return create_unknown_html(path)