/[qa]/trunk/pts/www/bin/config.py
ViewVC logotype

Contents of /trunk/pts/www/bin/config.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2668 - (show annotations) (download) (as text)
Sat Nov 26 13:17:44 2011 UTC (17 months, 3 weeks ago) by pabs
File MIME type: text/x-python
File size: 483 byte(s)
Don't hard-code paths in the configuration
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Make sure tabs expand to 8 spaces in vim
5 # vim: expandtab
6
7 import os.path
8
9 root = os.path.dirname(os.path.dirname(__file__))
10 dir = os.path.join(root, "incoming")
11 odir = os.path.join(root, "base")
12 webdir = os.path.join(root, "web")
13 bindir = os.path.join(root, "bin")
14 libdir = os.path.join(root, "bin")
15
16 # use file:// for a local mirror, http:// for a remote mirror
17 mirrors = ["http://gluck.debian.org/debian/" ] # note the trailing slash

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5