File:  [Repository] / lise / FMPro.py
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Apr 14 16:37:27 2004 UTC (20 years ago) by wischi
Branches: wischi, MAIN
CVS tags: alpha, HEAD
first release

def getFMPro(url, user=""):
        import os
        if user =="":
          f = os.popen("curl -s 'http://localhost:8889/"+ url+"'","r")
        else:
          f = os.popen("curl -s -u "+user+" 'http://localhost:8889/"+ url+"'","r")
        return (f.read())

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>