Gentoo Archives: gentoo-dev

From: Peter Ruskin <aoyu93@×××××××××.com>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Portage http interface
Date: Sat, 16 Nov 2002 08:50:27
Message-Id: 200211160849.31360.aoyu93@dsl.pipex.com
In Reply to: [gentoo-dev] Portage http interface by Troy Dack
1 On Friday 15 Nov 2002 15:26, Troy Dack wrote:
2 > Hi all,
3 > I've just started playing with/learning about python and while reading
4 > the docs noticed that it had a http server module. So I thought I'd
5 > have a bash at throwing together a webmin type front end for portage.
6 >
7 > Th results are attached. It's not very functional at the moment, but I
8 > thought I'd share it and get peoples opinions.
9 >
10 > Installation is simple:
11 >
12 > 1. Save the attachment somewhere comfortable as: portageserver.py
13 > 2. make it executable (chmod o+x portageserver.py)
14 > 3. run it /path/to/portageserver.py
15 >
16 > Usage is even easier, just point your browser @ http://localhost:9000
17 >
18 > Let me know what you think.
19 >
20 > Thanks
21 $ portageserver.py
22 File "/usr/local/bin/portageserver.py", line 24
23 def server bind(self):
24 ^
25 SyntaxError: invalid syntax
26
27 --
28 Gentoo Linux 1.4 (Portage 2.0.44 (default-x86-1.4, gcc-3.2, glibc-2.3.1-r2)).
29 KDE: 3.0.99 (KDE 3.1 RC3) Qt: 3.1.0
30 AMD Athlon(tm) XP 1900+ 512MB. Kernel: 2.4.19-win4lin. GCC 3.2
31 Linux user #275590 (http://counter.li.org/). up 22:38.
32
33
34 --
35 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Portage http interface Troy Dack <troy@××××××.com>