Changeset 106:314a3a2b9519
- Timestamp:
- 2007-08-01 17:39:19
(1 year ago)
- Author:
- Stefan Schwarzer <sschwarzer@sschwarzer.net>
- branch:
- default
- Message:
Moved some constant from `websourcebrowser.py` to `config.py`.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r98 |
r106 |
|
| 28 | 28 | import optparse |
|---|
| 29 | 29 | import os |
|---|
| | 30 | import random |
|---|
| 30 | 31 | import sys |
|---|
| 31 | 32 | |
|---|
| 32 | 33 | import coding |
|---|
| 33 | 34 | |
|---|
| | 35 | |
|---|
| 34 | 36 | # |
|---|
| 35 | | # defaults |
|---|
| | 37 | # constants used in several places |
|---|
| | 38 | # |
|---|
| | 39 | CSS_FILE_NAME = "websourcebrowser.css" |
|---|
| | 40 | # window target for files to display |
|---|
| | 41 | SOURCE_WINDOW_TARGET = "websourcebrowser_source" |
|---|
| | 42 | # used to distinguish actual files from directories or files for |
|---|
| | 43 | # internal use, e. g. style sheets |
|---|
| | 44 | #SPECIAL_DIR = str(random.randrange(1000000, 10000000)) |
|---|
| | 45 | SPECIAL_DIR = "269b89b5c7930683" |
|---|
| | 46 | |
|---|
| | 47 | # |
|---|
| | 48 | # defaults, can be changed via command line |
|---|
| 36 | 49 | # |
|---|
| 37 | 50 | |
|---|