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, 2 months ago) by wischi
Branches: wischi, MAIN
CVS tags: alpha, HEAD
first release

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

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