Changeset 74
- Timestamp:
- 08/08/07 16:34:21 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
projects/sAsync/trunk/sasync/database.py
r57 r74 242 242 """ 243 243 Returns a threaded task queue that is dedicated to my database 244 connection. Creates the queue if the first time the property is 245 accessed. 244 connection. Creates the queue the first time the property is accessed. 246 245 """ 247 246 def newQueue(): projects/Twisted-Goodies/trunk/misc/var_www_foss.tellectual.com_index.py
r71 r74 79 79 80 80 81 class DisabledResource(StanResource):82 addSlash = False83 84 def __init__(self, whatDisabled):85 self.whatDisabled = whatDisabled86 self.title = "%s Temporarily Disabled" % whatDisabled87 88 def render(self, request):89 return [90 T.h2[self.title],91 T.p["Hopefully this should be fixed soon."]]92 93 81 94 82 class Resource(StanResource): … … 222 210 listOp('append', 'wiki') 223 211 root, isAtRoot = rootState(subSegments) 224 if root == 'changeset':225 # TODO, hopefully won't need this long226 return DisabledResource("Changeset Listings"), ()227 212 if root == 'wiki' and len(subSegments) > 1: 228 213 subRoot = subSegments[1]
