ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/dtwsgi/trunk/dtwsgi/main.py
Revision: 2
Committed: 2008-04-19T21:50:08-07:00 (17 years, 2 months ago) by douglas
Content type: text/x-python
File size: 907 byte(s)
Log Message:
Bleh!

File Contents

# Content
1 # DT WSGI
2 #
3 # Douglas Thrift
4 #
5 # $Id$
6
7 # Copyright 2008 Douglas Thrift
8 #
9 # Licensed under the Apache License, Version 2.0 (the "License");
10 # you may not use this file except in compliance with the License.
11 # You may obtain a copy of the License at
12 #
13 # http://www.apache.org/licenses/LICENSE-2.0
14 #
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20
21 import os.path
22 import sys
23
24 commands = {
25 'create': (),
26 'server': (),
27 }
28
29 def main():
30 if not sys.argv[1:]:
31 usage()
32
33 command = sys.argv[1]
34
35 def usage():
36 print 'Usage: ' + os.path.basename(sys.argv[0]) + ' <command> [options]'
37
38 sys.exit(2)
39
40 if __name__ == '__main__':
41 main()

Properties

Name Value
svn:keywords Id